Skip to content

Integer promotion and overflows #423

@leventeBajczi

Description

@leventeBajczi
int main() {
 long x = -2147483648 - 1;
 printf("%ld\n", x);
 return 0;
}

with LP64 architecture causes an overflow according to Theta, but not according to sv-benchmarks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions