public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
@ 2010-10-16 21:28 zsojka at seznam dot cz
2010-10-16 23:18 ` [Bug tree-optimization/46053] " hjl.tools at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-16 21:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
Summary: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with
-fno-early-inlining
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 22067
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22067
reduced testcase
Output:
$ g++ -O -fipa-cp -fno-early-inlining pr46053.C
$ ./a.out
Aborted
Tested revisions (for the reduced testcase):
r165540 - fail
r163636 - fail
r161659 - fail
r159696 - fail
r158095 - OK
4.5 r163761 - OK
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/46053] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
@ 2010-10-16 23:18 ` hjl.tools at gmail dot com
2010-10-17 22:04 ` jamborm at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-16 23:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.16 23:18:34
CC| |mjambor at suse dot cz
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-16 23:18:34 UTC ---
It is caused by revision 159362:
http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00414.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/46053] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
2010-10-16 23:18 ` [Bug tree-optimization/46053] " hjl.tools at gmail dot com
@ 2010-10-17 22:04 ` jamborm at gcc dot gnu.org
2010-10-26 4:00 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-10-17 22:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jamborm at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-10-17 22:04:45 UTC ---
Mine.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/46053] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
2010-10-16 23:18 ` [Bug tree-optimization/46053] " hjl.tools at gmail dot com
2010-10-17 22:04 ` jamborm at gcc dot gnu.org
@ 2010-10-26 4:00 ` jakub at gcc dot gnu.org
2010-11-11 11:02 ` jamborm at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-26 4:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/46053] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-10-26 4:00 ` jakub at gcc dot gnu.org
@ 2010-11-11 11:02 ` jamborm at gcc dot gnu.org
2010-11-22 21:51 ` jamborm at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-11-11 11:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-11-11 11:02:44 UTC ---
Patch posted to the mailing list:
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01140.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/46053] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-11-11 11:02 ` jamborm at gcc dot gnu.org
@ 2010-11-22 21:51 ` jamborm at gcc dot gnu.org
2010-12-15 13:20 ` jamborm at gcc dot gnu.org
2010-12-15 14:33 ` jamborm at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-11-22 21:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-11-22 21:48:03 UTC ---
Patch pinged: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02291.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/46053] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-11-22 21:51 ` jamborm at gcc dot gnu.org
@ 2010-12-15 13:20 ` jamborm at gcc dot gnu.org
2010-12-15 14:33 ` jamborm at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-12-15 13:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-12-15 13:19:50 UTC ---
Author: jamborm
Date: Wed Dec 15 13:19:46 2010
New Revision: 167855
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167855
Log:
2010-12-15 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/46053
PR middle-end/46287
PR middle-end/46242
* cgraph.h (cgraph_indirect_call_info): New field thunk_delta.
* gimple.h (gimple_fold_obj_type_ref): Declaration removed.
(gimple_fold_call): Declare.
(gimple_adjust_this_by_delta): Likewise.
* cgraph.c (cgraph_make_edge_direct): New parameter delta. Updated
all users.
(cgraph_clone_edge): Create a copy of indirect_info also for direct
edges.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Adjust this
parameters.
* gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Renamed to
gimple_get_virt_mehtod_for_binfo, new parameter delta. Do not search
through thunks, in fact bail out if we encounter one, check that
BINFO_VIRTUALS is not NULL.
(gimple_adjust_this_by_delta): New function.
(gimple_fold_obj_type_ref): Removed.
(gimple_fold_obj_type_ref_call): New function.
(fold_gimple_call): Renamed to gimple_fold_call, made external.
Updated users. Call gimple_fold_obj_type_ref_call instead of
gimple_fold_obj_type_ref.
* ipa-cp.c (ipcp_process_devirtualization_opportunities): Process
thunk deltas.
(ipcp_discover_new_direct_edges): Likewise.
* ipa-prop.c (ipa_make_edge_direct_to_target): New parameter delta.
Updated callers.
(ipa_write_indirect_edge_info): Stream thunk_delta.
(ipa_read_indirect_edge_info): Likewise.
* tree-ssa-ccp.c (ccp_fold_stmt): Use gimple_fold_call instead of
gimple_fold_obj_type_ref.
* testsuite/g++.dg/ipa/pr46053.C: New test.
* testsuite/g++.dg/ipa/pr46287-1.C: Likewise.
* testsuite/g++.dg/ipa/pr46287-2.C: Likewise.
* testsuite/g++.dg/ipa/pr46287-3.C: Likewise.
* testsuite/g++.dg/torture/covariant-1.C: Likewise.
* testsuite/g++.dg/torture/pr46287.C: Likewise.
Added:
trunk/gcc/testsuite/g++.dg/ipa/pr46053.C
trunk/gcc/testsuite/g++.dg/ipa/pr46287-1.C
trunk/gcc/testsuite/g++.dg/ipa/pr46287-2.C
trunk/gcc/testsuite/g++.dg/ipa/pr46287-3.C
trunk/gcc/testsuite/g++.dg/torture/covariant-1.C
trunk/gcc/testsuite/g++.dg/torture/pr46287.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/gcc/cgraph.h
trunk/gcc/cgraphunit.c
trunk/gcc/gimple-fold.c
trunk/gcc/gimple.h
trunk/gcc/ipa-cp.c
trunk/gcc/ipa-prop.c
trunk/gcc/ipa-prop.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-ccp.c
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/46053] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
` (5 preceding siblings ...)
2010-12-15 13:20 ` jamborm at gcc dot gnu.org
@ 2010-12-15 14:33 ` jamborm at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jamborm at gcc dot gnu.org @ 2010-12-15 14:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46053
Martin Jambor <jamborm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-12-15 14:33:09 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-12-15 14:33 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-16 21:28 [Bug tree-optimization/46053] New: [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining zsojka at seznam dot cz
2010-10-16 23:18 ` [Bug tree-optimization/46053] " hjl.tools at gmail dot com
2010-10-17 22:04 ` jamborm at gcc dot gnu.org
2010-10-26 4:00 ` jakub at gcc dot gnu.org
2010-11-11 11:02 ` jamborm at gcc dot gnu.org
2010-11-22 21:51 ` jamborm at gcc dot gnu.org
2010-12-15 13:20 ` jamborm at gcc dot gnu.org
2010-12-15 14:33 ` 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).