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 lto/88087] New: [9 Regression] ICE in execute at tree-ssa-pre.c:4220 since r266183


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

            Bug ID: 88087
           Summary: [9 Regression] ICE in execute at tree-ssa-pre.c:4220
                    since r266183
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org, rguenth at gcc dot gnu.org
  Target Milestone: ---

Following is causing ICE:

$ cat 1.i
int udisks_linux_block_object_get_type ();

void a() { udisks_linux_block_object_get_type(); }

$ cat 2.i
int d;
int udisks_linux_block_object_get_type() __attribute__((__const__));

void a();
void b(int);

void c() {
  for (;;) {
    a();
    d = udisks_linux_block_object_get_type();
    b(d);
  }
}

$ gcc -O2 -flto [12].i -shared
during GIMPLE pass: pre
2.i: In function ‘c’:
2.i:7:6: internal compiler error: in execute, at tree-ssa-pre.c:4220
    7 | void c() {
      |      ^
0x6bc51d execute
        /home/marxin/Programming/gcc/gcc/tree-ssa-pre.c:4220
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

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