public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
@ 2013-01-09 23:26 schwab@linux-m68k.org
2013-01-10 14:33 ` Jan Hubicka
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-09 23:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
Bug #: 55927
Summary: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11
scan-ipa-dump-times inline "Discovered a virtual call
to a known target" 1
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: schwab@linux-m68k.org
Target: ia64-*-*
Created attachment 29136
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29136
devirt-10.C.048i.inline
$ grep -c "Discovered a virtual call to a known target" devirt-10.C.048i.inline
0
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
@ 2013-01-10 14:33 ` Jan Hubicka
2013-01-10 14:34 ` [Bug tree-optimization/55927] " hubicka at ucw dot cz
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Jan Hubicka @ 2013-01-10 14:33 UTC (permalink / raw)
To: schwab@linux-m68k.org; +Cc: gcc-bugs
This will be usual difference of virtual call representation in ia64. The .cp test is going fine?
Honza
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
2013-01-10 14:33 ` Jan Hubicka
@ 2013-01-10 14:34 ` hubicka at ucw dot cz
2013-01-10 14:44 ` schwab@linux-m68k.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hubicka at ucw dot cz @ 2013-01-10 14:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
--- Comment #1 from Jan Hubicka <hubicka at ucw dot cz> 2013-01-10 14:33:48 UTC ---
This will be usual difference of virtual call representation in ia64. The .cp
test is going fine?
Honza
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
2013-01-10 14:33 ` Jan Hubicka
2013-01-10 14:34 ` [Bug tree-optimization/55927] " hubicka at ucw dot cz
@ 2013-01-10 14:44 ` schwab@linux-m68k.org
2013-01-10 16:43 ` hubicka at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-10 14:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2013-01-10 14:44:20 UTC ---
Yes, it does.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
` (2 preceding siblings ...)
2013-01-10 14:44 ` schwab@linux-m68k.org
@ 2013-01-10 16:43 ` hubicka at gcc dot gnu.org
2013-01-10 17:49 ` jamborm at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hubicka at gcc dot gnu.org @ 2013-01-10 16:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2013-01-10 16:42:46 UTC ---
Martin,
I guess it is "yours" then. Why we fail to analyze one call but suceed with the
another?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
` (3 preceding siblings ...)
2013-01-10 16:43 ` hubicka at gcc dot gnu.org
@ 2013-01-10 17:49 ` jamborm at gcc dot gnu.org
2013-01-23 17:56 ` jamborm at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-10 17:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-10 17:49:32 UTC ---
(In reply to comment #3)
> Martin,
> I guess it is "yours" then. Why we fail to analyze one call but suceed with the
> another?
I have not looked at this ia64 bug specifically yet, but does my comment #1 in
PR 55913 answer your question?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
` (4 preceding siblings ...)
2013-01-10 17:49 ` jamborm at gcc dot gnu.org
@ 2013-01-23 17:56 ` jamborm at gcc dot gnu.org
2013-01-24 16:11 ` jamborm at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-23 17:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org
|gnu.org |
--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-23 17:55:49 UTC ---
Uh oh, the testcase checks behavior of indirect inlining but does not
turn off early inlining so the input to IPA-CP and inliner differs on
platforms (and will potentially change everywhere in future) and this
of course leads to different behavior. I will double check that we do
not still loose an indirect inlining opportunity somehow and will try
to somehow force the early inliner to do the same thing on the
testcase everywhere, if possible.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
` (5 preceding siblings ...)
2013-01-23 17:56 ` jamborm at gcc dot gnu.org
@ 2013-01-24 16:11 ` jamborm at gcc dot gnu.org
2013-01-24 16:19 ` jamborm at gcc dot gnu.org
2013-01-24 16:32 ` jamborm at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-24 16:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2013-01/msg01191.htm
| |l
Last reconfirmed| |2013-01-24
Ever Confirmed|0 |1
--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-24 16:10:37 UTC ---
It turns out that just disabling early inlining is enough and does not
make the testcase fail anywhere I tried (x86_64, ia64 and i686). So I
posted a patch disabling it in the testcase and will commit it
shortly: http://gcc.gnu.org/ml/gcc-patches/2013-01/msg01191.html
It is true that indirect inlining on ia64 produces purely
intra-procedural opportunities for type-based devirtualization which
we do not do but should. That is a different problem though, let's
hope it will be done in 4.9.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
` (6 preceding siblings ...)
2013-01-24 16:11 ` jamborm at gcc dot gnu.org
@ 2013-01-24 16:19 ` jamborm at gcc dot gnu.org
2013-01-24 16:32 ` jamborm at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-24 16:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-24 16:18:35 UTC ---
Author: jamborm
Date: Thu Jan 24 16:18:26 2013
New Revision: 195430
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195430
Log:
2013-01-24 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/55927
* g++.dg/ipa/devirt-10.C: Disable early inlining.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/ipa/devirt-10.C
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/55927] FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
` (7 preceding siblings ...)
2013-01-24 16:19 ` jamborm at gcc dot gnu.org
@ 2013-01-24 16:32 ` jamborm at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jamborm at gcc dot gnu.org @ 2013-01-24 16:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55927
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-01-24 16:31:33 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-01-24 16:32 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-09 23:26 [Bug tree-optimization/55927] New: FAIL: g++.dg/ipa/devirt-10.C -std=gnu++11 scan-ipa-dump-times inline "Discovered a virtual call to a known target" 1 schwab@linux-m68k.org
2013-01-10 14:33 ` Jan Hubicka
2013-01-10 14:34 ` [Bug tree-optimization/55927] " hubicka at ucw dot cz
2013-01-10 14:44 ` schwab@linux-m68k.org
2013-01-10 16:43 ` hubicka at gcc dot gnu.org
2013-01-10 17:49 ` jamborm at gcc dot gnu.org
2013-01-23 17:56 ` jamborm at gcc dot gnu.org
2013-01-24 16:11 ` jamborm at gcc dot gnu.org
2013-01-24 16:19 ` jamborm at gcc dot gnu.org
2013-01-24 16:32 ` jamborm 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).