public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
@ 2009-11-16 20:00 howarth at nitro dot med dot uc dot edu
2009-11-16 20:02 ` [Bug target/42070] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-11-16 20:00 UTC (permalink / raw)
To: gcc-bugs
Currently in gcc trunk on darwin10, we fail the test cases...
FAIL: g++.dg/tree-prof/partition1.C compilation, -g -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -g -fprofile-use
FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -O3 -g -fprofile-use
when compiling with -freorder-blocks-and-partition on darwin10 because of many
warnings of the form...
ld: warning: can't add line info to anonymous symbol anon-func-0xF40 from
/var/tmp//ccrw73YL.o
This was filed as radar 7289379 with the two failing test cases provided as
samples of the problem. Apple's response was...
"In the sample you supplied, the warning is because there is code in the
__TEXT/__unlikely section and there is dwarf debug information that says it
part of a function. The linker sanity checks how it broke up the .o file into
"atoms" by checking it against the dwarf debug info.
I think the __unlikely section should be avoided on darwin until it is shown to
work with the linker. At a minimum each chunk in the __unlikely section should
have a label on it with a name based on the function it came from. Those
labels would also help debugging.
This warning does not have anything to do removing labels from __eh_frame
section."
--
Summary: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g
-fprofile-use
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: howarth at nitro dot med dot uc dot edu
GCC build triplet: *-apple-darwin10
GCC host triplet: *-apple-darwin10
GCC target triplet: *-apple-darwin10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
2009-11-16 20:00 [Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use howarth at nitro dot med dot uc dot edu
@ 2009-11-16 20:02 ` pinskia at gcc dot gnu dot org
2010-04-06 20:54 ` iains at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-11-16 20:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-16 20:02 -------
Basically I think breaking up functions inside sections/segments in object
files is a broken way of doing dead stripping.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
2009-11-16 20:00 [Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use howarth at nitro dot med dot uc dot edu
2009-11-16 20:02 ` [Bug target/42070] " pinskia at gcc dot gnu dot org
@ 2010-04-06 20:54 ` iains at gcc dot gnu dot org
2010-09-09 17:20 ` howarth at nitro dot med dot uc dot edu
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-04-06 20:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from iains at gcc dot gnu dot org 2010-04-06 20:53 -------
(In reply to comment #1)
> Basically I think breaking up functions inside sections/segments in object
> files is a broken way of doing dead stripping.
hmm I think this is related to hot/cold partitioning rather than dead code
stripping, per se.
I wonder if it's partial fallout from not being able to use dwarf >2.
( I seem to recall that the problem area in dwarf2out was around the hot/cold
sections).
--
iains at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |iains at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
2009-11-16 20:00 [Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use howarth at nitro dot med dot uc dot edu
2009-11-16 20:02 ` [Bug target/42070] " pinskia at gcc dot gnu dot org
2010-04-06 20:54 ` iains at gcc dot gnu dot org
@ 2010-09-09 17:20 ` howarth at nitro dot med dot uc dot edu
2010-09-14 7:41 ` bonzini at gcc dot gnu dot org
2010-09-15 7:55 ` mrs at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-09-09 17:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from howarth at nitro dot med dot uc dot edu 2010-09-09 17:19 -------
Created an attachment (id=21755)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21755&action=view)
patch to prune bogus linker warnings from Xcode 3.2.x.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
2009-11-16 20:00 [Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use howarth at nitro dot med dot uc dot edu
` (2 preceding siblings ...)
2010-09-09 17:20 ` howarth at nitro dot med dot uc dot edu
@ 2010-09-14 7:41 ` bonzini at gcc dot gnu dot org
2010-09-15 7:55 ` mrs at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2010-09-14 7:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bonzini at gnu dot org 2010-09-14 07:41 -------
Subject: Bug 42070
Author: bonzini
Date: Tue Sep 14 07:40:44 2010
New Revision: 164269
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164269
Log:
2010-09-10 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/42070
* gcc/testsuite/lib/profopt.exp: Prune warnings on execname2 compile.
* gcc/testsuite/lib/prune.exp: Prune "can't add line info" warnings.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/lib/profopt.exp
trunk/gcc/testsuite/lib/prune.exp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
2009-11-16 20:00 [Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use howarth at nitro dot med dot uc dot edu
` (3 preceding siblings ...)
2010-09-14 7:41 ` bonzini at gcc dot gnu dot org
@ 2010-09-15 7:55 ` mrs at gcc dot gnu dot org
4 siblings, 0 replies; 8+ messages in thread
From: mrs at gcc dot gnu dot org @ 2010-09-15 7:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from mrs at gcc dot gnu dot org 2010-09-15 07:55 -------
Fixed.
--
mrs at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
[not found] <bug-42070-4@http.gcc.gnu.org/bugzilla/>
2010-10-06 19:22 ` mrs at gcc dot gnu.org
@ 2010-10-06 19:50 ` mrs at gcc dot gnu.org
1 sibling, 0 replies; 8+ messages in thread
From: mrs at gcc dot gnu.org @ 2010-10-06 19:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
mrs@gcc.gnu.org <mrs at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrs at gcc dot gnu.org
Target Milestone|--- |4.5.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/42070] FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use
[not found] <bug-42070-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-06 19:22 ` mrs at gcc dot gnu.org
2010-10-06 19:50 ` mrs at gcc dot gnu.org
1 sibling, 0 replies; 8+ messages in thread
From: mrs at gcc dot gnu.org @ 2010-10-06 19:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42070
--- Comment #6 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2010-10-06 19:22:40 UTC ---
Author: mrs
Date: Wed Oct 6 19:22:37 2010
New Revision: 165063
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165063
Log:
2010-10-06 Jack Howarth <howarth@bromo.med.uc.edu>
Backport from mainline
2010-09-10 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/42070
* lib/profopt.exp: Prune warnings on execname2 compile.
* lib/prune.exp: Prune "can't add line info" warnings.
Modified:
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/lib/profopt.exp
branches/gcc-4_5-branch/gcc/testsuite/lib/prune.exp
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-10-06 19:50 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16 20:00 [Bug c++/42070] New: FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use howarth at nitro dot med dot uc dot edu
2009-11-16 20:02 ` [Bug target/42070] " pinskia at gcc dot gnu dot org
2010-04-06 20:54 ` iains at gcc dot gnu dot org
2010-09-09 17:20 ` howarth at nitro dot med dot uc dot edu
2010-09-14 7:41 ` bonzini at gcc dot gnu dot org
2010-09-15 7:55 ` mrs at gcc dot gnu dot org
[not found] <bug-42070-4@http.gcc.gnu.org/bugzilla/>
2010-10-06 19:22 ` mrs at gcc dot gnu.org
2010-10-06 19:50 ` mrs 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).