[Bug tree-optimization/64148] New: [5.0 Regression][ARM][Aarch64] internal compiler error: in verify_ssa, at tree-ssa.c:939

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 2 12:08:00 GMT 2014


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

            Bug ID: 64148
           Summary: [5.0 Regression][ARM][Aarch64] internal compiler
                    error: in verify_ssa, at tree-ssa.c:939
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
            Target: arm-none-eabi, aarch64-none-elf

Created attachment 34160
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34160&action=edit
Reduced testcase

The attached testcase (reduced from Linux kernel source) ICEs with:

besttry.c: In function 'register_netdevice':
besttry.c:47:20: warning: implicit declaration of function 'dev_net'
[-Wimplicit-function-declaration]
  struct net *net = dev_net(dev);
                    ^
besttry.c:47:20: warning: initialization makes pointer from integer without a
cast [-Wint-conversion]
besttry.c:49:1: internal compiler error: in verify_ssa, at tree-ssa.c:939
 }
 ^
0xc47785 verify_ssa(bool, bool)
        $SRC/gcc/tree-ssa.c:939
0x98f2fb execute_function_todo
        $SRC/gcc/passes.c:1947
0x98f75d do_per_function
        $SRC/gcc/passes.c:1639
0x98fc43 execute_todo
        $SRC/gcc/passes.c:1997
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

This appears on arm-none-eabi and aarch64-none-elf (didn't try x86)

I'm using r218259. 4.9 works fine.
In any case it seems like a mid-end issue. -O2 is enough to reproduce. -O1
works fine.



More information about the Gcc-bugs mailing list