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

Remove signed integer overflow from test #75

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

Conversation

nmosier
Copy link

@nmosier nmosier commented Jan 12, 2024

Remove signed integer overflow from SingleSource/Regression/C/gcc-c-torture/execute/950704-1.c, which invoked undefined behavior. clang at HEAD just compiles this program to a single abort statement (w/ -O3 flag).

Remove signed integer overflow from SingleSource/Regression/C/gcc-c-torture/execute/950704-1.c,
which invoked undefined behavior. clang at HEAD just compiles
this program to a single abort statement (w/ -O3 flag).
@fhahn
Copy link
Contributor

fhahn commented Jan 16, 2024

d10245e added fwrapv to the flags for this test, so the overflow shouldn't be an issue, while preserving the original test. Is this change still needed?

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

Successfully merging this pull request may close these issues.

2 participants