[Bug c/29511] 0x80000000/-1 causes FPE on Intel/AMD

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29511 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew Pin

[Bug c/29511] 0x80000000/-1 causes FPE on Intel/AMD

2006-10-19 Thread Eric dot Deplagne at nerim dot net
--- Comment #2 from Eric dot Deplagne at nerim dot net 2006-10-19 08:58 --- Should I assume that 40+40 can FPE my ass too, then ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29511

[Bug c/29511] 0x80000000/-1 causes FPE on Intel/AMD

2006-10-19 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2006-10-19 08:39 --- That's not a bug, the result of -2147483648/-1 is overflowing the range of int, thus invokes undefined behaviour. -- schwab at suse dot de changed: What|Removed |Added -