public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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
@ 2010-06-02 11:24 zsojka at seznam dot cz
2010-06-02 12:19 ` [Bug tree-optimization/44377] " zsojka at seznam dot cz
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-02 11:24 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/44377] ICE: gimple check: expected gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta
2010-06-02 11:24 [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 zsojka at seznam dot cz
@ 2010-06-02 12:19 ` zsojka at seznam dot cz
2010-06-02 12:20 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-02 12:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from zsojka at seznam dot cz 2010-06-02 12:18 -------
The testcase was reduced from gcc.dg/torture/stackalign/builtin-return-1.c,
which is valid. It can be further reduced to:
void foo () { __builtin_return (0); }
In general, it seems any use of __builtin_return() with -fipa-pta ICEs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44377
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/44377] ICE: gimple check: expected gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta
2010-06-02 11:24 [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 zsojka at seznam dot cz
2010-06-02 12:19 ` [Bug tree-optimization/44377] " zsojka at seznam dot cz
@ 2010-06-02 12:20 ` rguenth at gcc dot gnu dot org
2010-06-02 12:27 ` rguenth at gcc dot gnu dot org
2010-06-02 12:28 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-02 12:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-06-02 12:20 -------
Mine.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-02 12:20:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44377
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/44377] ICE: gimple check: expected gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta
2010-06-02 11:24 [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 zsojka at seznam dot cz
2010-06-02 12:19 ` [Bug tree-optimization/44377] " zsojka at seznam dot cz
2010-06-02 12:20 ` rguenth at gcc dot gnu dot org
@ 2010-06-02 12:27 ` rguenth at gcc dot gnu dot org
2010-06-02 12:28 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-02 12:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-06-02 12:27 -------
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44377
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/44377] ICE: gimple check: expected gimple_return(error_mark), have gimple_call() in gimple_return_retval, at gimple.h:4311 with -fipa-pta
2010-06-02 11:24 [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 zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-06-02 12:27 ` rguenth at gcc dot gnu dot org
@ 2010-06-02 12:28 ` rguenth at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-02 12:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-06-02 12:27 -------
Subject: Bug 44377
Author: rguenth
Date: Wed Jun 2 12:27:24 2010
New Revision: 160152
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160152
Log:
2010-06-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44377
* tree-ssa-structalias.c (find_func_aliases): Fix typo.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-structalias.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44377
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-06-02 12:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-02 11:24 [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 zsojka at seznam dot cz
2010-06-02 12:19 ` [Bug tree-optimization/44377] " zsojka at seznam dot cz
2010-06-02 12:20 ` rguenth at gcc dot gnu dot org
2010-06-02 12:27 ` rguenth at gcc dot gnu dot org
2010-06-02 12:28 ` rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).