public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/48929] New: [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining
@ 2011-05-08 12:47 zsojka at seznam dot cz
2011-05-08 14:13 ` [Bug tree-optimization/48929] " hjl.tools at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2011-05-08 12:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48929
Summary: [4.7 Regression] ICE: in estimate_size_after_inlining,
at ipa-inline-analysis.c:1961 with -findirect-inlining
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 24208
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24208
reduced testcase
Compiler output:
$ gcc -O -findirect-inlining testcase.c
testcase.c:30:1: internal compiler error: in estimate_size_after_inlining, at
ipa-inline-analysis.c:1961
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r173545 - crash
4.6 r173059 - OK
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/48929] [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining
2011-05-08 12:47 [Bug tree-optimization/48929] New: [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining zsojka at seznam dot cz
@ 2011-05-08 14:13 ` hjl.tools at gmail dot com
2011-06-04 13:02 ` hubicka at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2011-05-08 14:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48929
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.05.08 14:04:22
CC| |hubicka at gcc dot gnu.org
Target Milestone|--- |4.7.0
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-05-08 14:04:22 UTC ---
It was caused by revision 173190:
http://gcc.gnu.org/ml/gcc-cvs/2011-04/msg01386.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/48929] [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining
2011-05-08 12:47 [Bug tree-optimization/48929] New: [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining zsojka at seznam dot cz
2011-05-08 14:13 ` [Bug tree-optimization/48929] " hjl.tools at gmail dot com
@ 2011-06-04 13:02 ` hubicka at gcc dot gnu.org
2011-06-04 14:25 ` hubicka at gcc dot gnu.org
2011-06-04 18:09 ` hubicka at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-06-04 13:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48929
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-06-04 13:02:28 UTC ---
Created attachment 24428
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24428
Pack I am testing
The problem is that the code assumes transitivity in edge predicates, while
this is broken by bug in remap_edge_predicates. When inlining function F that
has predicate P and F contains edge with no predicates, the edge should be
remapped to have predicate P.
Regtesting/bootstrapping the patch and will commit it if it passes.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/48929] [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining
2011-05-08 12:47 [Bug tree-optimization/48929] New: [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining zsojka at seznam dot cz
2011-05-08 14:13 ` [Bug tree-optimization/48929] " hjl.tools at gmail dot com
2011-06-04 13:02 ` hubicka at gcc dot gnu.org
@ 2011-06-04 14:25 ` hubicka at gcc dot gnu.org
2011-06-04 18:09 ` hubicka at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-06-04 14:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48929
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-06-04 14:24:24 UTC ---
Author: hubicka
Date: Sat Jun 4 14:24:20 2011
New Revision: 174638
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174638
Log:
PR tree-optimize/48929
* gcc.c-torture/compile/pr48929.c: New testcase.
* ipa-inline-analysis.c (remap_edge_predicates): Fix handling
of empty predicate.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr48929.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-inline-analysis.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/48929] [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining
2011-05-08 12:47 [Bug tree-optimization/48929] New: [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining zsojka at seznam dot cz
` (2 preceding siblings ...)
2011-06-04 14:25 ` hubicka at gcc dot gnu.org
@ 2011-06-04 18:09 ` hubicka at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-06-04 18:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48929
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-06-04 18:07:27 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-04 18:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-08 12:47 [Bug tree-optimization/48929] New: [4.7 Regression] ICE: in estimate_size_after_inlining, at ipa-inline-analysis.c:1961 with -findirect-inlining zsojka at seznam dot cz
2011-05-08 14:13 ` [Bug tree-optimization/48929] " hjl.tools at gmail dot com
2011-06-04 13:02 ` hubicka at gcc dot gnu.org
2011-06-04 14:25 ` hubicka at gcc dot gnu.org
2011-06-04 18:09 ` hubicka at gcc dot gnu.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).