Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Fix" PERFORM bounds check in 4.x - but disable it for now as it is not ISO-compliant #194

Open
wants to merge 1 commit into
base: gc4
Choose a base branch
from

Conversation

ddeclerck
Copy link
Contributor

@ddeclerck ddeclerck commented Oct 15, 2024

As per #147 (comment).

@ddeclerck ddeclerck changed the title "Fix" PERFORM bounds check - but disable it for now as it is not ISO-compliant "Fix" PERFORM bounds check in 4.x - but disable it for now as it is not ISO-compliant Oct 21, 2024
Copy link
Collaborator

@GitMensch GitMensch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change those two warnings to an error and adjust the testsuite - in general this disabling is exactly the right thing and also should ease later merges

tests/testsuite.src/syn_occurs.at Show resolved Hide resolved
tests/testsuite.src/syn_occurs.at Outdated Show resolved Hide resolved
tests/testsuite.src/syn_occurs.at Outdated Show resolved Hide resolved
tests/testsuite.src/run_subscripts.at Outdated Show resolved Hide resolved
cobc/codegen.c Outdated Show resolved Hide resolved
@ddeclerck ddeclerck force-pushed the gc4_index_check_tweaks branch 2 times, most recently from b964c7f to bf523b0 Compare October 22, 2024 10:27
Copy link
Collaborator

@GitMensch GitMensch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up!

tests/testsuite.src/syn_occurs.at Show resolved Hide resolved
tests/testsuite.src/run_subscripts.at Outdated Show resolved Hide resolved
@ddeclerck
Copy link
Contributor Author

I guess that's it ?

@GitMensch
Copy link
Collaborator

Thanks again - time for upstream trunk, then going on with the 3x->trunk merge.

It would be nice if you find the time to finish #191 by backporting this adjustment (which then has a misleading title).

@ddeclerck
Copy link
Contributor Author

Thanks again - time for upstream trunk

Actually I might as well add a ChangeLog entry for those changes (especially those in parser.y).

It would be nice if you find the time to finish #191 by backporting this adjustment

I'll add those changes to #191 but I'll let someone else deal with the "other stuff" that remain to be addressed in that PR.

which then has a misleading title

Well at first it was just about disabling the PEFORM bound check, hence the title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants