This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/81223] New: [8 Regression] ICE in instrument_null at gcc/ubsan.c:1230


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]