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/44377] New: ICE: gimple check: expected gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta


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


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