public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
@ 2007-08-03 9:18 belyshev at depni dot sinp dot msu dot ru
2007-08-03 12:20 ` [Bug tree-optimization/32975] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2007-08-03 9:18 UTC (permalink / raw)
To: gcc-bugs
// Compile with -O1 -finline-functions -fipa-cp
// reduced from ada/adadecode.c
static int f0 (char *s0, char *s1)
{
return __builtin_strlen (s0) > __builtin_strlen (s1);
}
int f1 (char *s, int j)
{
if (f0 (s, ""))
return 1;
return j;
}
void f2 (char *s)
{
f1 (s, 0);
}
//
bug.c:16: error: edge T.0->__builtin_strlen has no corresponding call_stmt
bug.c:16: internal compiler error: Segmentation fault
--
Summary: [4.3 Regression] ICE segfault (verify_cgraph failure
after ipa-cp) with -finline-functions -fipa-cp
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, ice-checking
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: belyshev at depni dot sinp dot msu dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
@ 2007-08-03 12:20 ` pinskia at gcc dot gnu dot org
2007-08-03 15:06 ` belyshev at depni dot sinp dot msu dot ru
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-03 12:20 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
2007-08-03 12:20 ` [Bug tree-optimization/32975] " pinskia at gcc dot gnu dot org
@ 2007-08-03 15:06 ` belyshev at depni dot sinp dot msu dot ru
2007-08-07 15:05 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2007-08-03 15:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from belyshev at depni dot sinp dot msu dot ru 2007-08-03 15:06 -------
Fails since:
r121570 | hubicka | 2007-02-04 16:01:13 +0300 (Sun, 04 Feb 2007) | 7 lines
* ipa-inline.c (try_inline): Improve debug output; work on already
inline edges too.
(cgraph_decide_inlining_incrementally): Indent; improve debug output;
call try_inline for already inlined edges too when flattening;
inline also functions that make callee growth but overall unit size
reduce.
--
belyshev at depni dot sinp dot msu dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
2007-08-03 12:20 ` [Bug tree-optimization/32975] " pinskia at gcc dot gnu dot org
2007-08-03 15:06 ` belyshev at depni dot sinp dot msu dot ru
@ 2007-08-07 15:05 ` pinskia at gcc dot gnu dot org
2007-08-10 0:59 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-07 15:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-08-07 15:04 -------
This has to do with folding of __builtin_strlen.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
` (2 preceding siblings ...)
2007-08-07 15:05 ` pinskia at gcc dot gnu dot org
@ 2007-08-10 0:59 ` mmitchel at gcc dot gnu dot org
2007-09-04 6:14 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-08-10 0:59 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
` (3 preceding siblings ...)
2007-08-10 0:59 ` mmitchel at gcc dot gnu dot org
@ 2007-09-04 6:14 ` jakub at gcc dot gnu dot org
2007-09-04 7:31 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-09-04 6:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2007-09-04 06:14 -------
Can't reproduce this, neither on x86_64-linux, nor on ppc-linux, on the former
I tried cc1's I had laying around back through to 2007-08-21 and all of them
worked.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
` (4 preceding siblings ...)
2007-09-04 6:14 ` jakub at gcc dot gnu dot org
@ 2007-09-04 7:31 ` jakub at gcc dot gnu dot org
2007-09-04 8:53 ` belyshev at depni dot sinp dot msu dot ru
2007-09-23 9:45 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-09-04 7:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2007-09-04 07:30 -------
This got fixed by the PR30564 fix,
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127638
Do we want to commit this testcase as well?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
` (5 preceding siblings ...)
2007-09-04 7:31 ` jakub at gcc dot gnu dot org
@ 2007-09-04 8:53 ` belyshev at depni dot sinp dot msu dot ru
2007-09-23 9:45 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2007-09-04 8:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from belyshev at depni dot sinp dot msu dot ru 2007-09-04 08:53 -------
(In reply to comment #4)
> This got fixed by the PR30564 fix,
> http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127638
> Do we want to commit this testcase as well?
>
I think yes, please do.
--
belyshev at depni dot sinp dot msu dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/32975] [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
` (6 preceding siblings ...)
2007-09-04 8:53 ` belyshev at depni dot sinp dot msu dot ru
@ 2007-09-23 9:45 ` jakub at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-09-23 9:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jakub at gcc dot gnu dot org 2007-09-23 09:44 -------
Subject: Bug 32975
Author: jakub
Date: Sun Sep 23 09:44:23 2007
New Revision: 128688
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128688
Log:
PR tree-optimization/32772
* gcc.c-torture/compile/20070905-1.c: New test.
PR tree-optimization/32975
* gcc.dg/pr32975.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/20070905-1.c
trunk/gcc/testsuite/gcc.dg/pr32975.c
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32975
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-09-23 9:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-03 9:18 [Bug tree-optimization/32975] New: [4.3 Regression] ICE segfault (verify_cgraph failure after ipa-cp) with -finline-functions -fipa-cp belyshev at depni dot sinp dot msu dot ru
2007-08-03 12:20 ` [Bug tree-optimization/32975] " pinskia at gcc dot gnu dot org
2007-08-03 15:06 ` belyshev at depni dot sinp dot msu dot ru
2007-08-07 15:05 ` pinskia at gcc dot gnu dot org
2007-08-10 0:59 ` mmitchel at gcc dot gnu dot org
2007-09-04 6:14 ` jakub at gcc dot gnu dot org
2007-09-04 7:31 ` jakub at gcc dot gnu dot org
2007-09-04 8:53 ` belyshev at depni dot sinp dot msu dot ru
2007-09-23 9:45 ` jakub 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).