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

            Bug ID: 92022
           Summary: [8/9 Regression] ICE in alpha_handle_trap_shadows, at
                    config/alpha/alpha.c:8847
           Product: gcc
           Version: 9.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen while building asymptote on alpha, both with gcc-8 and gcc-9. trunk not
tested.

$ cat path.ii
struct a {
  a(long);
};
long b;
void c() {
  a d(1);
  double e = b;
  for (; b;)
    d = e;
}

$ alpha-linux-gnu-g++ -c -g -O1 -fno-var-tracking path.ii 
during RTL pass: trap_shadows
path.ii: In function 'void c()':
path.ii:10:1: internal compiler error: in alpha_handle_trap_shadows, at
config/alpha/alpha.c:8847
   10 | }
      | ^
0x7f3a563bcbba __libc_start_main
        ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to