Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: andy.koppe at analog dot com
Target Milestone: ---
Created attachment 51591
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51591&action=edit
Minimized example
Compiling the mi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123
--- Comment #6 from Andy Koppe ---
Thanks, consider me duly embarrased.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87123
--- Comment #2 from Andy Koppe ---
You are right. The test passes when casting to unsigned before negation.
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: andy.koppe at analog dot com
Target Milestone: ---
Reproduced using gcc 5.4.0 on Ubuntu 16.04, gcc 7.3.0 on Cygwin64, and also a
gcc 7.2.1 for ARM:
$ cat test.c
#include
int x