[Bug target/85152] New: VAX ICE with -O2

coypu at sdf dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 1 02:49:00 GMT 2018


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

            Bug ID: 85152
           Summary: VAX ICE with -O2
           Product: gcc
           Version: 8.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: coypu at sdf dot org
  Target Milestone: ---

Created attachment 43808
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43808&action=edit
Test case.

ICE with -O2, no ICE with -O0.

~/gcc/build/gcc$ PATH=.:$PATH ./xgcc -x c small.c -c -O2
during RTL pass: final
small.c: In function 'fn1':
small.c:7:1: internal compiler error: in change_address_1, at emit-rtl.c:2286
 }
 ^
0x7d86ed change_address_1
        ../../gcc/emit-rtl.c:2286
0x7dc9d5 adjust_address_1(rtx_def*, machine_mode, poly_int<1u, long>, int, int,
int, poly_int<1u, long>)
        ../../gcc/emit-rtl.c:2420
0x101b783 output_101
        ../../gcc/config/vax/vax.md:824
0x82ac0a final_scan_insn_1
        ../../gcc/final.c:3105
0x82c79b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ../../gcc/final.c:3218
0x82c935 final_1
        ../../gcc/final.c:2088
0x82d984 rest_of_handle_final
        ../../gcc/final.c:4671
0x82d984 execute
        ../../gcc/final.c:4745
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.


More information about the Gcc-bugs mailing list