[Bug debug/31690] ICE with const __uint128_t and C++ front-end

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 19 22:22:00 GMT 2016


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
      Known to work|                            |5.3.0, 6.0
         Resolution|---                         |FIXED

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
This compiles fine with trunk (6.0) as well as 5.3.0, on both powerpc64 and
powerpc64le.  Resolving as fixed.

$ cat a.c && /build/gcc-trunk/gcc/xg++ -B /build/gcc-trunk/gcc -c -g -xc++ a.c
&& echo PASS
const __uint128_t fives = (((__uint128_t)(0x5555555555555555ULL))
<<64)|((__uint128_t)(0x5555555555555555ULL));
PASS


More information about the Gcc-bugs mailing list