This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/81223] New: [8 Regression] ICE in instrument_null at gcc/ubsan.c:1230
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Jun 2017 09:01:08 +0000
- Subject: [Bug sanitizer/81223] New: [8 Regression] ICE in instrument_null at gcc/ubsan.c:1230
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81223
Bug ID: 81223
Summary: [8 Regression] ICE in instrument_null at
gcc/ubsan.c:1230
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin 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: ---
Starting from r249030 we ICE on:
$ cat ice.c
int b;
void c ();
void
d ()
{
struct
{
char a[b];
} e;
c (e);
}
$ gcc -c -fsanitize=alignment ice.c
during GIMPLE pass: ubsan
ice.c: In function ‘d’:
ice.c:11:1: internal compiler error: Segmentation fault
}
^
0xb923bf crash_signal
../../gcc/toplev.c:338
0xbb3664 instrument_null
../../gcc/ubsan.c:1230
0xbb9c0b execute
../../gcc/ubsan.c:2019