* [Bug tree-optimization/18299] ICE
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
@ 2004-11-04 18:12 ` nathan at gcc dot gnu dot org
2004-11-04 19:19 ` [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-11-04 18:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From nathan at gcc dot gnu dot org 2004-11-04 18:12 -------
Created an attachment (id=7472)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7472&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
2004-11-04 18:12 ` [Bug tree-optimization/18299] ICE nathan at gcc dot gnu dot org
@ 2004-11-04 19:19 ` pinskia at gcc dot gnu dot org
2004-11-04 19:48 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-04 19:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 19:19 -------
Confimed, reducing (gimple-lowering is crapping out on VAR_DECL, it could also crap out on
INDIRECT_REF, and COMPONENT_REF which are valid gimple statements).
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|tree-optimization |middle-end
Keywords| |ice-on-valid-code
Summary|ICE |[4.0 Regression] ICE in
| |gimple-lower
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
2004-11-04 18:12 ` [Bug tree-optimization/18299] ICE nathan at gcc dot gnu dot org
2004-11-04 19:19 ` [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower pinskia at gcc dot gnu dot org
@ 2004-11-04 19:48 ` pinskia at gcc dot gnu dot org
2004-11-04 19:52 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-04 19:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 19:48 -------
note the code will not work as you have "const tree __t = (__t);" in the code. I will see if I can reduce it
as this should not be that important. This is why macros are bad.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-11-04 19:48 ` pinskia at gcc dot gnu dot org
@ 2004-11-04 19:52 ` pinskia at gcc dot gnu dot org
2004-11-08 13:53 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-04 19:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 19:52 -------
Confirmed, here is the reduced testcase:
static inline int f(int i)
{
const int __t = (__t);
}
int g(void)
{
return f(0);
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-04 19:52:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-11-04 19:52 ` pinskia at gcc dot gnu dot org
@ 2004-11-08 13:53 ` pinskia at gcc dot gnu dot org
2004-11-08 14:48 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 13:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 13:53 -------
: Search converges between 2003-07-29-trunk (#308) and 2003-07-30-trunk (#309).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-11-08 13:53 ` pinskia at gcc dot gnu dot org
@ 2004-11-08 14:48 ` pinskia at gcc dot gnu dot org
2004-11-08 19:19 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 14:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 14:48 -------
(stupid thing was failing for a while before 3.4):
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
And we have been failing on the tree-ssa for a long time (since at least 2003-05-30).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-11-08 14:48 ` pinskia at gcc dot gnu dot org
@ 2004-11-08 19:19 ` pinskia at gcc dot gnu dot org
2004-11-08 19:47 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 19:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 19:19 -------
Created an attachment (id=7493)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7493&action=view)
patch which I am testing
This patch fixes the bug in the tree-inliner but I want to make sure that we
only inline when we are in gimple and that we will only produce gimple when
inlining (I think this is true but I want to know for sure).
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-11-08 19:19 ` pinskia at gcc dot gnu dot org
@ 2004-11-08 19:47 ` pinskia at gcc dot gnu dot org
2004-11-08 20:12 ` cvs-commit at gcc dot gnu dot org
2004-11-08 20:12 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 19:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 19:47 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00631.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-11-08 19:47 ` pinskia at gcc dot gnu dot org
@ 2004-11-08 20:12 ` cvs-commit at gcc dot gnu dot org
2004-11-08 20:12 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-08 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 20:11 -------
Fixed.
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-08 20:11 -------
Subject: Bug 18299
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-11-08 20:10:46
Modified files:
gcc : tree-inline.c ChangeLog
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture: pr18299-1.c
Log message:
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18299
* gcc.c-torture/pr18299-1.c: New test.
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18299
* tree-inline.c (copy_body_r): Change "t = t" to empty
statement instead of "t".
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&r1=1.148&r2=1.149
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6225&r2=2.6226
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4559&r2=1.4560
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/pr18299-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/18299] [4.0 Regression] ICE in gimple-lower
2004-11-04 18:11 [Bug tree-optimization/18299] New: ICE nathan at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-11-08 20:12 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-08 20:12 ` pinskia at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-08 20:11 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18299
^ permalink raw reply [flat|nested] 11+ messages in thread