Bug ID: 80102
           Summary: ICE in maybe_record_trace_start, at dwarf2cfi.c:2330
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot
          Reporter: marxin at gcc dot
                CC: jakub at gcc dot
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: ppc64le-linux-gnu

Following test-case ICE with cross-compiler:

$ cat /tmp/tmp8e87gxzu.ii
class b
  float a;
  b (float c)
    for (int g; g < c;)
class d
  d (b);
main ()
  b (1.0);
  d e (0.0), f (1.0);

$ ppc64le-linux-gnu-g++ -fnon-call-exceptions -mminimal-toc -Os
/tmp/tmp8e87gxzu.ii: In constructor ‘b::b(float)’:
/tmp/tmp8e87gxzu.ii:9:3: internal compiler error: in maybe_record_trace_start,
at dwarf2cfi.c:2330
0x9b1c1b maybe_record_trace_start
0x9b4058 scan_trace
0x9b487a create_cfi_notes
0x9b487a execute_dwarf2_frame
0x9b487a execute

Reply via email to