This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81471] internal compiler error: in curr_insn_transform, at lra-constraints.c:3495
- From: "gcp at sjeng dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Jul 2017 19:55:06 +0000
- Subject: [Bug target/81471] internal compiler error: in curr_insn_transform, at lra-constraints.c:3495
- Auto-submitted: auto-generated
- References: <bug-81471-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81471
--- Comment #4 from Gian-Carlo Pascutto <gcp at sjeng dot org> ---
Further reduced testcase:
#include <stdint.h>
uint64_t f(uint64_t x) {
return ((uint32_t)x << 55) | ((uint32_t)x >> -23);
}
This makes it more clear the code is UB, but AFAIK a compiler ICE doesn't fall
under allowable UB :-)