https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81125
Bug ID: 81125
Summary: [7/8 Regression] -fsanitize=undefined ICE
Product: gcc
Version: 7.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at
gcc dot gnu.org
Target Milestone: ---
#ifdef __SIZEOF_INT128__
typedef __int128 T;
#else
typedef long long int T;
#endif
struct A
{
A (long);
T a;
};
A::A(long c) { long b = a % c; }
ICEs with -fsanitize=undefined on x86_64-linux with both -m32 and -m64 starting
with r245945. Reduced from i686-linux bootstrap-ubsan ICE on stor-layout.c.