This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/45533] New: Incorrect MEM_REF operand causes ICE.


/home/ramana/cross-build/arm-none-linux-gnueabi/obj/gcc2/gcc/cc1 -O2
~/testcase.i

Arch. specific configuration of GCC :--with-cpu=cortex-a9 --with-fpu=neon
--with-float=softfp 

./testcase.i: In function ?elf_machine_load_address?:
./testcase.i:5254:38: warning: taking address of expression of type ?void?
[enabled by default]
./testcase.i: In function ?_dl_relocate_object?:
./testcase.i:5432:1: error: Invalid first operand of MEM_REF.
prephitmp.252_36
./testcase.i:5432:1: note: in statement
D.14709_176 = &MEM[(const struct Elf32_Rel *)prephitmp.252_36 + 8B];

./testcase.i:5432:1: error: Invalid first operand of MEM_REF.
prephitmp.252_36
./testcase.i:5432:1: note: in statement
D.14712_1273 = &MEM[(const struct Elf32_Rel *)prephitmp.252_36 + 8B];

./testcase.i:5432:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


>From a gdb session the pass that seems to have this problem with verification
is ivopts. 

r163801 - works fine
r163802 - starts ICE'ing.


-- 
           Summary:  Incorrect MEM_REF operand causes ICE.
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ramana at gcc dot gnu dot org
  GCC host triplet: x86_64-linux
GCC target triplet: arm-none-linux-gnueabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45533


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]