[Bug target/82181] New: internal compiler error: in change_address_1, at emit-rtl.c:2126

jcmvbkbc at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 11 17:56:00 GMT 2017


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

            Bug ID: 82181
           Summary: internal compiler error: in change_address_1, at
                    emit-rtl.c:2126
           Product: gcc
           Version: 6.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jcmvbkbc at gcc dot gnu.org
  Target Milestone: ---

Created attachment 42156
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42156&action=edit
preprocessed source that triggers the issue

Building allmodconfig linux kernel for xtensa results in ICE:

drivers/staging/rtl8188eu/core/rtw_ap.c:445:1: internal compiler error: in
change_address_1, at emit-rtl.c:2126
 }
 ^
0x6a3e2f change_address_1
        ../../../gcc-6.1.0/gcc/emit-rtl.c:2126
0x6a66a2 adjust_address_1(rtx_def*, machine_mode, long, int, int, int, long)
        ../../../gcc-6.1.0/gcc/emit-rtl.c:2264
0xb6f521 xtensa_split_operand_pair(rtx_def**, machine_mode)   
        ../../../gcc-6.1.0/gcc/config/xtensa/xtensa.c:994
0xc08b3e gen_split_1(rtx_insn*, rtx_def**)
        ../../../gcc-6.1.0/gcc/config/xtensa/xtensa.md:743
0x6a81b4 try_split(rtx_def*, rtx_insn*, int)
        ../../../gcc-6.1.0/gcc/emit-rtl.c:3658
  CC [M]  drivers/staging/rtl8188eu/hal/rtl8188eu_recv.o
0x8ab411 split_insn
        ../../../gcc-6.1.0/gcc/recog.c:2865
0x8af037 split_all_insns()
        ../../../gcc-6.1.0/gcc/recog.c:2955
0x8af0b2 rest_of_handle_split_after_reload
        ../../../gcc-6.1.0/gcc/recog.c:3891
0x8af0b2 execute
        ../../../gcc-6.1.0/gcc/recog.c:3920


Reproducible with the attached preprocessed source and the following command
line:

cc1 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -Werror-implicit-function-declaration
-Wno-format-security -std=gnu89 -fno-PIE -ffreestanding  -mlongcalls
-mforce-no-pic -fno-delete-null-pointer-checks -Wno-frame-address -O2
--param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -fno-reorder-blocks
-fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=1024
-fno-stack-protector -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-omit-frame-pointer -fno-optimize-sibling-calls
-fno-var-tracking-assignments -fno-inline-functions-called-once
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
-fconserve-stack -Werror=implicit-int -Werror=strict-prototypes
-Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init
rtw_ap.i


More information about the Gcc-bugs mailing list