[Bug ipa/78599] [7 Regression] hwint.h:292:72: runtime error: shift exponent 64 is too large for 64-bit type 'long int'

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 2 16:25:00 GMT 2016


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

--- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Martin Jambor from comment #7)
> I cannot reproduce this using the testcase from comment #1 even whe I add
> -fsanitize=undefined to the command line.  Is this on x86_64?

You need to use an instrumented compiler, either
--with-build-config="bootstrap-ubsan" or CXX="g++ -fsanitize=undefined"
../gcc/configure.


More information about the Gcc-bugs mailing list