https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766

            Bug ID: 81766
           Summary: [7/8 Regression] ICE in maybe_add_or_update_dep_1, at
                    sched-deps.c:924 caused by r250815
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---
            Target: x86_64-*-*, i?86-*-*

int main(void) { return 0;}

> ./cc1 -quiet t.c -O2 -fPIE -mcmodel=large
t.c: In function ‘main’:
t.c:1:1: internal compiler error: in maybe_add_or_update_dep_1, at
sched-deps.c:924
 int main(void) { return 0;}
 ^~~
0x17b13ec maybe_add_or_update_dep_1
        /space/rguenther/src/svn/gcc-7-branch/gcc/sched-deps.c:924
0x17b355a haifa_note_dep
        /space/rguenther/src/svn/gcc-7-branch/gcc/sched-deps.c:1866
0x17b3666 note_dep
        /space/rguenther/src/svn/gcc-7-branch/gcc/sched-deps.c:1901
0x17b9aa9 add_dependence_1


Breaks grub2 build because its configury fails the test for -mcmodel=large.

Reply via email to