This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/44377] New: ICE: gimple check: expected gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2010 11:23:38 -0000
- Subject: [Bug tree-optimization/44377] New: ICE: gimple check: expected gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Command line:
$ gcc -O1 -fipa-pta testcase.c
----- testcase.c -----
int foo ()
{
__builtin_return (foo);
}
----------------------
Tested revisions:
r160122 - crash
r159696 - OK
Compiler output:
$ gcc -O1 -fipa-pta testcase.c
testcase.c: In function 'foo':
testcase.c:4:1: internal compiler error: gimple check: expected
gimple_return(error_mark), have gimple_call() in gimple_return_retval, at
gimple.h:4311
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE: gimple check: expected gimple_return(error_mark),
have gimple_call() in gimple_return_retval, at
gimple.h:4311 with -fipa-pta
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44377