[Bug ipa/63856] New: [5 Regression] ICE: verify_gimple failed: invalid argument to gimple call with -O2 -fPIC

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Thu Nov 13 19:39:00 GMT 2014


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

            Bug ID: 63856
           Summary: [5 Regression] ICE: verify_gimple failed: invalid
                    argument to gimple call with -O2 -fPIC
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

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

Compiler output:
$ gcc -O2 -fPIC testcase.c
testcase.c: In function 'f':
testcase.c:12:1: error: invalid argument to gimple call
 }
 ^
A
# .MEM_3 = VDEF <.MEM_1(D)>
retval.2_4 = g.localalias.0 (A, N_2(D)); [tail call]
testcase.c:12:1: internal compiler error: verify_gimple failed
0xc40994 verify_gimple_in_cfg(function*, bool)
        /mnt/svn/gcc-trunk/gcc/tree-cfg.c:5039
0xb0d396 execute_function_todo
        /mnt/svn/gcc-trunk/gcc/passes.c:1868
0xb0dced do_per_function
        /mnt/svn/gcc-trunk/gcc/passes.c:1602
0xb0de03 execute_todo
        /mnt/svn/gcc-trunk/gcc/passes.c:1925
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.

Tested revisions:
r217458 - ICE
4_9 r216937 - OK



More information about the Gcc-bugs mailing list