Without the fix for PR 65656, g++ miscompiles __builtin_constant_p in
wi::lrshift in wide-int.h. Add a check with PR 65656 testcase to verify
that C++ __builtin_constant_p works properly.
gcc/
PR c++/69399
* configure.ac: Check if C++ __builtin_constant_p works
properly.
(HAVE_WORKING_CXX_BUILTIN_CONSTANT_P): AC_DEFINE.
* system.h (STATIC_CONSTANT_P): Use __builtin_constant_p only
if HAVE_WORKING_CXX_BUILTIN_CONSTANT_P is defined.
* config.in: Regenerated.
* configure: Likewise.
gcc/testsuite/
PR c++/69399
* gcc.dg/torture/pr69399.c: New test.
c0b02c4...
by
wschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
2016-01-22 Bill Schmidt <email address hidden>
* gcc.target/powerpc/pr63354.c: Restrict to Linux targets with
64-bit support.
7b9de43...
by
ktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
[ARM] Fix PR target/69403: Bug in thumb2_ior_scc_strict_it pattern
PR target/69403
* config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
define_insn_and_split. Ensure operands[1] and operands[0] do not
get assigned the same register.