* [Bug c++/42450] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
@ 2009-12-21 18:57 ` jacob dot benoit dot 1 at gmail dot com
2009-12-21 22:04 ` hjl dot tools at gmail dot com
` (21 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jacob dot benoit dot 1 at gmail dot com @ 2009-12-21 18:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jacob dot benoit dot 1 at gmail dot com 2009-12-21 18:57 -------
Created an attachment (id=19358)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19358&action=view)
Preprocessed C++ source triggering this ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/42450] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
2009-12-21 18:57 ` [Bug c++/42450] " jacob dot benoit dot 1 at gmail dot com
@ 2009-12-21 22:04 ` hjl dot tools at gmail dot com
2009-12-29 17:27 ` jacob dot benoit dot 1 at gmail dot com
` (20 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-21 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2009-12-21 22:04 -------
It is caused by revision 151696:
http://gcc.gnu.org/ml/gcc-cvs/2009-09/msg00443.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-12-21 22:04:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug c++/42450] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
2009-12-21 18:57 ` [Bug c++/42450] " jacob dot benoit dot 1 at gmail dot com
2009-12-21 22:04 ` hjl dot tools at gmail dot com
@ 2009-12-29 17:27 ` jacob dot benoit dot 1 at gmail dot com
2009-12-30 20:56 ` [Bug middle-end/42450] [4.5 Regression] " rguenth at gcc dot gnu dot org
` (19 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jacob dot benoit dot 1 at gmail dot com @ 2009-12-29 17:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jacob dot benoit dot 1 at gmail dot com 2009-12-29 17:27 -------
Could someone confirm that this is a 4.5 ICE regression and tag it as such?
Happy holidays!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (2 preceding siblings ...)
2009-12-29 17:27 ` jacob dot benoit dot 1 at gmail dot com
@ 2009-12-30 20:56 ` rguenth at gcc dot gnu dot org
2010-01-02 16:07 ` rguenth at gcc dot gnu dot org
` (18 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-30 20:56 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Component|c++ |middle-end
Keywords| |ice-checking, ice-on-valid-
| |code
Summary|another GCC 4.5 ICE on C++ |[4.5 Regression] another GCC
|templated code |4.5 ICE on C++ templated
| |code
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (3 preceding siblings ...)
2009-12-30 20:56 ` [Bug middle-end/42450] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2010-01-02 16:07 ` rguenth at gcc dot gnu dot org
2010-01-04 9:38 ` dodji at gcc dot gnu dot org
` (17 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-02 16:07 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (4 preceding siblings ...)
2010-01-02 16:07 ` rguenth at gcc dot gnu dot org
@ 2010-01-04 9:38 ` dodji at gcc dot gnu dot org
2010-01-05 17:14 ` rth at gcc dot gnu dot org
` (16 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: dodji at gcc dot gnu dot org @ 2010-01-04 9:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dodji at gcc dot gnu dot org 2010-01-04 09:37 -------
Confirmed on 4.5. The ICE happens only with -O2, with checking enabled.
I think this should be flagged as P1.
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (5 preceding siblings ...)
2010-01-04 9:38 ` dodji at gcc dot gnu dot org
@ 2010-01-05 17:14 ` rth at gcc dot gnu dot org
2010-01-22 19:10 ` hubicka at gcc dot gnu dot org
` (15 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: rth at gcc dot gnu dot org @ 2010-01-05 17:14 UTC (permalink / raw)
To: gcc-bugs
--
rth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2009-12-21 22:04:10 |2010-01-05 17:14:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (6 preceding siblings ...)
2010-01-05 17:14 ` rth at gcc dot gnu dot org
@ 2010-01-22 19:10 ` hubicka at gcc dot gnu dot org
2010-01-22 19:29 ` jacob dot benoit dot 1 at gmail dot com
` (14 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-01-22 19:10 UTC (permalink / raw)
To: gcc-bugs
--
hubicka at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (7 preceding siblings ...)
2010-01-22 19:10 ` hubicka at gcc dot gnu dot org
@ 2010-01-22 19:29 ` jacob dot benoit dot 1 at gmail dot com
2010-01-22 19:34 ` pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jacob dot benoit dot 1 at gmail dot com @ 2010-01-22 19:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jacob dot benoit dot 1 at gmail dot com 2010-01-22 19:29 -------
Sorry for the probably uninformed question, but this bug was just tagged
"enhancement", and I thought that "enhancement" meant "not really a bug but
rather a feature request". I would like to understand?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (8 preceding siblings ...)
2010-01-22 19:29 ` jacob dot benoit dot 1 at gmail dot com
@ 2010-01-22 19:34 ` pinskia at gcc dot gnu dot org
2010-01-24 13:58 ` hubicka at ucw dot cz
` (12 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-01-22 19:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2010-01-22 19:34 -------
(In reply to comment #5)
> Sorry for the probably uninformed question, but this bug was just tagged
> "enhancement", and I thought that "enhancement" meant "not really a bug but
> rather a feature request". I would like to understand?
I think it was an accident as this is a P1 bug anyways.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (9 preceding siblings ...)
2010-01-22 19:34 ` pinskia at gcc dot gnu dot org
@ 2010-01-24 13:58 ` hubicka at ucw dot cz
2010-02-23 4:06 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: hubicka at ucw dot cz @ 2010-01-24 13:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hubicka at ucw dot cz 2010-01-24 13:55 -------
Subject: Re: [4.5 Regression] another GCC 4.5 ICE on C++ templated code
> I think it was an accident as this is a P1 bug anyways.
That was accident (i meant to update different PR). I tought I fixed that
already.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (10 preceding siblings ...)
2010-01-24 13:58 ` hubicka at ucw dot cz
@ 2010-02-23 4:06 ` pinskia at gcc dot gnu dot org
2010-03-03 14:38 ` manu at gcc dot gnu dot org
` (10 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-23 4:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2010-02-23 04:06 -------
Created an attachment (id=19938)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19938&action=view)
smaller testcase
Here is the smallest testcase I could get out of delta.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (11 preceding siblings ...)
2010-02-23 4:06 ` pinskia at gcc dot gnu dot org
@ 2010-03-03 14:38 ` manu at gcc dot gnu dot org
2010-03-03 22:12 ` manu at gcc dot gnu dot org
` (9 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-03-03 14:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from manu at gcc dot gnu dot org 2010-03-03 14:38 -------
(In reply to comment #8)
> Created an attachment (id=19938)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19938&action=view) [edit]
> smaller testcase
>
> Here is the smallest testcase I could get out of delta.
I have a testcase of only 8K but delta is still running. I think I should be
able to reduce it to less than 228 lines.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (12 preceding siblings ...)
2010-03-03 14:38 ` manu at gcc dot gnu dot org
@ 2010-03-03 22:12 ` manu at gcc dot gnu dot org
2010-03-04 1:29 ` zsojka at seznam dot cz
` (8 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-03-03 22:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from manu at gcc dot gnu dot org 2010-03-03 22:11 -------
Created an attachment (id=20015)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20015&action=view)
further reduced testcase
This testcase is somehow smaller. I won't try to reduce it further.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19938|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (13 preceding siblings ...)
2010-03-03 22:12 ` manu at gcc dot gnu dot org
@ 2010-03-04 1:29 ` zsojka at seznam dot cz
2010-03-04 18:23 ` jamborm at gcc dot gnu dot org
` (7 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: zsojka at seznam dot cz @ 2010-03-04 1:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from zsojka at seznam dot cz 2010-03-04 01:28 -------
Created an attachment (id=20016)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20016&action=view)
different reduced testcase
Testcases from comment #0 and comment #10 don't fail for me (x86_64, r157161).
However, attached testcase does (further reduced from comment #8). Compiler
flags:
-O3 ; -O2 ; -O1 -fipa-cp -fipa-sra
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (14 preceding siblings ...)
2010-03-04 1:29 ` zsojka at seznam dot cz
@ 2010-03-04 18:23 ` jamborm at gcc dot gnu dot org
2010-03-04 18:24 ` jamborm at gcc dot gnu dot org
` (6 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-03-04 18:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from jamborm at gcc dot gnu dot org 2010-03-04 18:22 -------
*** Bug 43198 has been marked as a duplicate of this bug. ***
--
jamborm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (15 preceding siblings ...)
2010-03-04 18:23 ` jamborm at gcc dot gnu dot org
@ 2010-03-04 18:24 ` jamborm at gcc dot gnu dot org
2010-03-05 19:42 ` jamborm at gcc dot gnu dot org
` (5 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-03-04 18:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from jamborm at gcc dot gnu dot org 2010-03-04 18:24 -------
I have a patch for this. I will submit it tomorrow.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (16 preceding siblings ...)
2010-03-04 18:24 ` jamborm at gcc dot gnu dot org
@ 2010-03-05 19:42 ` jamborm at gcc dot gnu dot org
2010-03-08 10:44 ` jamborm at gcc dot gnu dot org
` (4 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-03-05 19:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from jamborm at gcc dot gnu dot org 2010-03-05 19:42 -------
(In reply to comment #13)
> I have a patch for this. I will submit it tomorrow.
>
Unfortunately, I am not sure that my patch really fixes the issue
rather than hides it. I'd like to discuss it with Honza first.
Nevertheless, I'll keep working on this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (17 preceding siblings ...)
2010-03-05 19:42 ` jamborm at gcc dot gnu dot org
@ 2010-03-08 10:44 ` jamborm at gcc dot gnu dot org
2010-03-15 13:24 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-03-08 10:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from jamborm at gcc dot gnu dot org 2010-03-08 10:44 -------
I came to the conclusion the patch was indeed a good fix. I have
submitted it to the mailing list along with an explanation of what is
going on: http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00270.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (18 preceding siblings ...)
2010-03-08 10:44 ` jamborm at gcc dot gnu dot org
@ 2010-03-15 13:24 ` rguenth at gcc dot gnu dot org
2010-03-18 20:07 ` jamborm at gcc dot gnu dot org
` (2 subsequent siblings)
22 siblings, 0 replies; 24+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-15 13:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from rguenth at gcc dot gnu dot org 2010-03-15 13:24 -------
Re-assigning to Martin then.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|rth at gcc dot gnu dot org |jamborm at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (19 preceding siblings ...)
2010-03-15 13:24 ` rguenth at gcc dot gnu dot org
@ 2010-03-18 20:07 ` jamborm at gcc dot gnu dot org
2010-03-19 10:15 ` jamborm at gcc dot gnu dot org
2010-03-25 16:41 ` hjl at gcc dot gnu dot org
22 siblings, 0 replies; 24+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-03-18 20:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from jamborm at gcc dot gnu dot org 2010-03-18 20:07 -------
Subject: Bug 42450
Author: jamborm
Date: Thu Mar 18 20:07:13 2010
New Revision: 157546
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157546
Log:
2010-03-18 Martin Jambor <mjambor@suse.cz>
PR middle-end/42450
* cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare.
* cgraphunit.c (cgraph_materialize_all_clones): Update calls in
all non-clones. Moved call redirection...
(cgraph_redirect_edge_call_stmt_to_callee): ...to this new
function.
(cgraph_materialize_all_clones): Dispose of all
combined_args_to_skip bitmaps.
(verify_cgraph_node): Do not check for edges pointing to wrong
nodes in inline clones.
* tree-inline.c (copy_bb): Call
cgraph_redirect_edge_call_stmt_to_callee.
* ipa.c (cgraph_remove_unreachable_nodes): Call
cgraph_node_remove_callees even when there are used clones.
* testsuite/g++.dg/torture/pr42450.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr42450.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.h
trunk/gcc/cgraphunit.c
trunk/gcc/ipa.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (20 preceding siblings ...)
2010-03-18 20:07 ` jamborm at gcc dot gnu dot org
@ 2010-03-19 10:15 ` jamborm at gcc dot gnu dot org
2010-03-25 16:41 ` hjl at gcc dot gnu dot org
22 siblings, 0 replies; 24+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2010-03-19 10:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from jamborm at gcc dot gnu dot org 2010-03-19 10:14 -------
Fixed.
--
jamborm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread
* [Bug middle-end/42450] [4.5 Regression] another GCC 4.5 ICE on C++ templated code
2009-12-21 18:55 [Bug c++/42450] New: another GCC 4.5 ICE on C++ templated code jacob dot benoit dot 1 at gmail dot com
` (21 preceding siblings ...)
2010-03-19 10:15 ` jamborm at gcc dot gnu dot org
@ 2010-03-25 16:41 ` hjl at gcc dot gnu dot org
22 siblings, 0 replies; 24+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-03-25 16:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from hjl at gcc dot gnu dot org 2010-03-25 16:40 -------
Subject: Bug 42450
Author: hjl
Date: Thu Mar 25 16:39:51 2010
New Revision: 157726
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157726
Log:
Backport regression testcases from mainline.
2010-03-25 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2010-03-22 Jason Merrill <jason@redhat.com>
PR c++/43333
* g++.dg/ext/is_pod_98.C: New.
2010-03-22 Michael Matz <matz@suse.de>
PR middle-end/43475
* gfortran.dg/pr43475.f90: New testcase.
2010-03-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43390
* gfortran.fortran-torture/execute/pr43390.f90: New testcase.
2010-03-20 Dodji Seketeli <dodji@redhat.com>
PR c++/43375
* g++.dg/abi/mangle42.C: New test.
2010-03-19 Andrew Pinski <andrew_pinski@caviumnetworks.com>
PR C/43211
* gcc.dg/pr43211.c: New test.
2010-03-18 Martin Jambor <mjambor@suse.cz>
PR middle-end/42450
* g++.dg/torture/pr42450.C: New test.
2010-03-18 Michael Matz <matz@suse.de>
PR tree-optimization/43402
* gcc.dg/pr43402.c: New testcase.
2010-03-17 Peter Bergner <bergner@vnet.ibm.com>
PR target/42427
* gcc.dg/pr42427.c: New test.
2010-03-16 Richard Guenther <rguenther@suse.de>
PR middle-end/43379
* gcc.dg/pr43379.c: New testcase.
2010-03-15 Michael Matz <matz@suse.de>
PR middle-end/43300
* gcc.dg/pr43300.c: New testcase.
2010-03-15 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43367
* gcc.c-torture/compile/pr43367.c: New testcase.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/abi/mangle42.C
- copied unchanged from r157725,
trunk/gcc/testsuite/g++.dg/abi/mangle42.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/is_pod_98.C
- copied unchanged from r157725,
trunk/gcc/testsuite/g++.dg/ext/is_pod_98.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr42450.C
- copied unchanged from r157725,
trunk/gcc/testsuite/g++.dg/torture/pr42450.C
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43367.c
- copied unchanged from r157725,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43367.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr42427.c
- copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr42427.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43211.c
- copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43211.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43300.c
- copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43300.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43379.c
- copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43379.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43402.c
- copied unchanged from r157725, trunk/gcc/testsuite/gcc.dg/pr43402.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr43475.f90
- copied unchanged from r157725,
trunk/gcc/testsuite/gfortran.dg/pr43475.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.fortran-torture/execute/pr43390.f90
- copied unchanged from r157725,
trunk/gcc/testsuite/gfortran.fortran-torture/execute/pr43390.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42450
^ permalink raw reply [flat|nested] 24+ messages in thread