public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/20521] New: ICE in cgraph.C with C++
@ 2005-03-17 20:26 bredelin at ucla dot edu
2005-03-17 20:28 ` [Bug middle-end/20521] " bredelin at ucla dot edu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bredelin at ucla dot edu @ 2005-03-17 20:26 UTC (permalink / raw)
To: gcc-bugs
While compiling a source file, I get the following error:
smodel.C:1164:1: internal compiler error: in cgraph_mark_reachable_node, at
cgraph.c:475
This is with today's (Mar 17, 2005) CVS, with Richard's Guenther's patch to
modify inlining heuristics. These options trigger the ICE:
% g++-cvs -O smodel.ii -c
--
Summary: ICE in cgraph.C with C++
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bredelin at ucla dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20521
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20521] ICE in cgraph.C with C++
2005-03-17 20:26 [Bug middle-end/20521] New: ICE in cgraph.C with C++ bredelin at ucla dot edu
@ 2005-03-17 20:28 ` bredelin at ucla dot edu
2005-03-20 11:25 ` belyshev at depni dot sinp dot msu dot ru
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bredelin at ucla dot edu @ 2005-03-17 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bredelin at ucla dot edu 2005-03-17 20:28 -------
Created an attachment (id=8411)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8411&action=view)
This testcase is preprocessed source from the file that causes the ICE.
Here is the testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20521
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20521] ICE in cgraph.C with C++
2005-03-17 20:26 [Bug middle-end/20521] New: ICE in cgraph.C with C++ bredelin at ucla dot edu
2005-03-17 20:28 ` [Bug middle-end/20521] " bredelin at ucla dot edu
@ 2005-03-20 11:25 ` belyshev at depni dot sinp dot msu dot ru
2005-03-20 15:57 ` bredelin at ucla dot edu
2005-06-14 19:22 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-03-20 11:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-03-20 11:25 -------
>This is with today's (Mar 17, 2005) CVS, with Richard's Guenther's patch to
>modify inlining heuristics.
which one? please add references to all patches you installed or, better, try to
reproduce ICE with clean tree by adding appropriate --param options.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20521
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20521] ICE in cgraph.C with C++
2005-03-17 20:26 [Bug middle-end/20521] New: ICE in cgraph.C with C++ bredelin at ucla dot edu
2005-03-17 20:28 ` [Bug middle-end/20521] " bredelin at ucla dot edu
2005-03-20 11:25 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-03-20 15:57 ` bredelin at ucla dot edu
2005-06-14 19:22 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: bredelin at ucla dot edu @ 2005-03-20 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bredelin at ucla dot edu 2005-03-20 15:57 -------
Subject: Re: ICE in cgraph.C with C++
belyshev at depni dot sinp dot msu dot ru wrote:
> ------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-03-20 11:25 -------
>
>>This is with today's (Mar 17, 2005) CVS, with Richard's Guenther's patch to
>>modify inlining heuristics.
>
>
> which one? please add references to all patches you installed or, better, try to
> reproduce ICE with clean tree by adding appropriate --param options.
>
1. For now, I will just include the patch:
diff -r1.170 tree-inline.c
1249a1250
> case TARGET_EXPR:
1250a1252,1253
> if (DECL_P (x) && DECL_IGNORED_P (x))
> break;
1252d1254
< case TARGET_EXPR:
2. However, it seems that as of Mar 18 CVS, the crash no longer occurs.
This is probably because of this change:
Fri Mar 18 10:00:16 2005 UTC by hubicka
PR middle-end/20225
* cgraph.c (cgraph_mark_reachable_node): Assert that it is not called
too late.
* varasm.c (find_decl_and_mark_needed): Mark needed only when not
called too late.
3. This patch might be reversed:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01869.html
If the regression returns, I will try to find --param options that cause
the ICE on a clean tree.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20521
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/20521] ICE in cgraph.C with C++
2005-03-17 20:26 [Bug middle-end/20521] New: ICE in cgraph.C with C++ bredelin at ucla dot edu
` (2 preceding siblings ...)
2005-03-20 15:57 ` bredelin at ucla dot edu
@ 2005-06-14 19:22 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-14 19:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-14 19:22 -------
The patch was never applied.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20521
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-14 19:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 20:26 [Bug middle-end/20521] New: ICE in cgraph.C with C++ bredelin at ucla dot edu
2005-03-17 20:28 ` [Bug middle-end/20521] " bredelin at ucla dot edu
2005-03-20 11:25 ` belyshev at depni dot sinp dot msu dot ru
2005-03-20 15:57 ` bredelin at ucla dot edu
2005-06-14 19:22 ` pinskia 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).