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

Regression: missing error for array "initialization data exceeds declared size" #971

Closed
peace-maker opened this issue Jun 5, 2024 · 1 comment

Comments

@peace-maker
Copy link
Member

          Also, the compiler stopped complaining about an overflowed array, like this:
char str[10] = "asdasdsadassadadsdas";

The compiler on sm 1.10 reported an error:

error 018: initialization data exceeds declared size

Originally posted by @accelerator74 in #970 (comment)

dvander added a commit that referenced this issue Jun 6, 2024
Bug: issue #971
Test: new test case, modified corpus
dvander added a commit that referenced this issue Jun 6, 2024
Bug: issue #971
Test: new test case, modified corpus
@dvander
Copy link
Member

dvander commented Jun 6, 2024

Thanks, this has been fixed on master.

@dvander dvander closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants