[Bug target/70333] [5/6 Regression] Test miscompiled with -O0.

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 21 09:19:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70333

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-03-21
   Target Milestone|---                         |5.4
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.

--- t.c.003t.original   2016-03-21 10:17:23.438078512 +0100
+++ t.c.003t.original.x 2016-03-21 10:17:17.694014323 +0100
@@ -7,7 +7,7 @@
   signed char e = (signed char) ((unsigned char) a > 7 ^ a > c);

     signed char e = (signed char) ((unsigned char) a > 7 ^ a > c);
-  d = (long int) (((long unsigned int) b * (long unsigned int) e) *
13958643712);
+  d = (long int) (((long unsigned int) b * (long unsigned int) e) *
18446744070488326144);
 }

smells like another wide-int related bug.


More information about the Gcc-bugs mailing list