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

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 60069
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60069&action=edit
A testcase

[hjl@gnu-tgl-3 gcc]$ ./xgcc -B./ -S -O2 -mx32 -fopenacc -foffload=disable
/tmp/x.ii
during RTL pass: dwarf2
/export/gnu/import/git/sources/gcc/libgomp/testsuite/libgomp.oacc-c++/deep-copy-12.C:
In function ‘int main(int, char**)’:
/export/gnu/import/git/sources/gcc/libgomp/testsuite/libgomp.oacc-c++/deep-copy-12.C:72:1:
internal compiler error: in maybe_record_trace_start, at dwarf2cfi.cc:2591
   72 | }
      | ^
0x3025293 internal_error(char const*, ...)
       
/export/gnu/import/git/gitlab/x86-gcc/gcc/diagnostic-global-context.cc:517
0x2ff4f0f fancy_abort(char const*, int, char const*)
        /export/gnu/import/git/gitlab/x86-gcc/gcc/diagnostic.cc:1722
0xb0074f maybe_record_trace_start
        /export/gnu/import/git/gitlab/x86-gcc/gcc/dwarf2cfi.cc:2591
0xb00b0b create_trace_edges
        /export/gnu/import/git/gitlab/x86-gcc/gcc/dwarf2cfi.cc:2694
0xb0149f scan_trace
        /export/gnu/import/git/gitlab/x86-gcc/gcc/dwarf2cfi.cc:2918
0xb015c8 create_cfi_notes
        /export/gnu/import/git/gitlab/x86-gcc/gcc/dwarf2cfi.cc:2945
0xb0237c execute_dwarf2_frame
        /export/gnu/import/git/gitlab/x86-gcc/gcc/dwarf2cfi.cc:3316
0xb03142 execute
        /export/gnu/import/git/gitlab/x86-gcc/gcc/dwarf2cfi.cc:3798
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
[hjl@gnu-tgl-3 gcc]$

Reply via email to