public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities
@ 2003-08-21 17:02 kapalka at icslab dot agh dot edu dot pl
2003-08-21 17:08 ` [Bug optimization/12012] " kapalka at icslab dot agh dot edu dot pl
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: kapalka at icslab dot agh dot edu dot pl @ 2003-08-21 17:02 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12012
Summary: problems with -fprofile-arcs/-fbranch-probabilities
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kapalka at icslab dot agh dot edu dot pl
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64
GCC host triplet: ia64
GCC target triplet: ia64
When I compile some Geant4 benchmarks with '-O2 -fprofile-arcs' options, run
them (so .da files are created) and then try to compile them again using '-O2
-fbranch-probabilities' I get a 'corrupted profile info' error message for some
of the source files. Details:
GCC version: 3.3
Configured with: ./configure --prefix=/opt/gcc3.3 --enable-threads=posix
--enable-languages=c,c++,f77
Thread model: posix
System type: dual Itanium 1000 MHz, Linux (RedHat Linux Advanced Workstation 2.1
(beta) with a 2.4.20 kernel)
Command line: g++ -O2 -fbranch-probabilities -w -Iinclude -I..
-DG4_STORE_TRAJECTORY -DG4USE_STL -DG4OPTIMISE -DG4USE_STD_NAMESPACE
-DG4UI_USE_TERMINAL -c Em2PhysicsList.cc
The detailed output from the compiler (-v -save-temps):
Reading specs from /opt/gcc3.3/lib/gcc-lib/ia64-unknown-linux-gnu/3.3/specs
Configured with: ./configure --prefix=/opt/gcc3.3 --enable-threads=posix
--enable-languages=c,c++,f77
Thread model: posix
gcc version 3.3
/opt/gcc3.3/lib/gcc-lib/ia64-unknown-linux-gnu/3.3/cc1plus -E -D__GNUG__=3
-quiet -v -Iinclude -I.. -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0
-D_GNU_SOURCE -DG4_STORE_TRAJECTORY -DG4USE_STL -DG4OPTIMISE
-DG4USE_STD_NAMESPACE -DG4UI_USE_TERMINAL Em2PhysicsList.cc -w
-fbranch-probabilities -O2 Em2PhysicsList.ii
ignoring nonexistent directory "/opt/gcc3.3/ia64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
include
..
/opt/gcc3.3/include/c++/3.3
/opt/gcc3.3/include/c++/3.3/ia64-unknown-linux-gnu
/opt/gcc3.3/include/c++/3.3/backward
/usr/local/include
/opt/gcc3.3/include
/opt/gcc3.3/lib/gcc-lib/ia64-unknown-linux-gnu/3.3/include
/usr/include
End of search list.
/opt/gcc3.3/lib/gcc-lib/ia64-unknown-linux-gnu/3.3/cc1plus -fpreprocessed
Em2PhysicsList.ii -quiet -dumpbase Em2PhysicsList.cc -auxbase Em2PhysicsList -O2
-w -version -fbranch-probabilities -o Em2PhysicsList.s
GNU C++ version 3.3 (ia64-unknown-linux-gnu)
compiled by GNU C version 3.2.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Em2PhysicsList.cc: In member function `void
Em2PhysicsList::AddPhysicsList(const G4String&)':
Em2PhysicsList.cc:107: error: corrupted profile info: prob for 54-55 thought to
be -10000
Em2PhysicsList.cc:107: error: corrupted profile info: prob for 54-56 thought to
be 20000
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12012] problems with -fprofile-arcs/-fbranch-probabilities
2003-08-21 17:02 [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities kapalka at icslab dot agh dot edu dot pl
@ 2003-08-21 17:08 ` kapalka at icslab dot agh dot edu dot pl
2003-08-21 17:09 ` kapalka at icslab dot agh dot edu dot pl
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kapalka at icslab dot agh dot edu dot pl @ 2003-08-21 17:08 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12012
------- Additional Comments From kapalka at icslab dot agh dot edu dot pl 2003-08-21 17:08 -------
Created an attachment (id=4631)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4631&action=view)
the source file (preprocessed)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12012] problems with -fprofile-arcs/-fbranch-probabilities
2003-08-21 17:02 [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities kapalka at icslab dot agh dot edu dot pl
2003-08-21 17:08 ` [Bug optimization/12012] " kapalka at icslab dot agh dot edu dot pl
@ 2003-08-21 17:09 ` kapalka at icslab dot agh dot edu dot pl
2003-08-23 17:47 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kapalka at icslab dot agh dot edu dot pl @ 2003-08-21 17:09 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12012
------- Additional Comments From kapalka at icslab dot agh dot edu dot pl 2003-08-21 17:08 -------
Created an attachment (id=4632)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4632&action=view)
the file generated by the executables (-fprofile-arcs)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12012] problems with -fprofile-arcs/-fbranch-probabilities
2003-08-21 17:02 [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities kapalka at icslab dot agh dot edu dot pl
2003-08-21 17:08 ` [Bug optimization/12012] " kapalka at icslab dot agh dot edu dot pl
2003-08-21 17:09 ` kapalka at icslab dot agh dot edu dot pl
@ 2003-08-23 17:47 ` pinskia at gcc dot gnu dot org
2003-10-19 18:04 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-23 17:47 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12012
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12012] problems with -fprofile-arcs/-fbranch-probabilities
2003-08-21 17:02 [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities kapalka at icslab dot agh dot edu dot pl
` (2 preceding siblings ...)
2003-08-23 17:47 ` pinskia at gcc dot gnu dot org
@ 2003-10-19 18:04 ` pinskia at gcc dot gnu dot org
2003-11-13 20:59 ` apl at alum dot mit dot edu
2004-01-02 0:23 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-19 18:04 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12012
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-19 18:01 -------
Can you try a mainline snapshot?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12012] problems with -fprofile-arcs/-fbranch-probabilities
2003-08-21 17:02 [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities kapalka at icslab dot agh dot edu dot pl
` (3 preceding siblings ...)
2003-10-19 18:04 ` pinskia at gcc dot gnu dot org
@ 2003-11-13 20:59 ` apl at alum dot mit dot edu
2004-01-02 0:23 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: apl at alum dot mit dot edu @ 2003-11-13 20:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From apl at alum dot mit dot edu 2003-11-13 20:59 -------
I'm seeing the same problem with g++ 3.3.2 on SPARC. It doesn't show up with
3.2.3; I encountered problems trying to build a 3.4 SPARC from the most recent
snapshot, so I wasn't able to see if this is fixed on 3.4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12012
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug optimization/12012] problems with -fprofile-arcs/-fbranch-probabilities
2003-08-21 17:02 [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities kapalka at icslab dot agh dot edu dot pl
` (4 preceding siblings ...)
2003-11-13 20:59 ` apl at alum dot mit dot edu
@ 2004-01-02 0:23 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-02 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-02 00:23 -------
No feedback in 3 months (T-18 days).
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4631 is|1 |0
patch| |
What |Removed |Added
----------------------------------------------------------------------------
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12012
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-01-02 0:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-21 17:02 [Bug optimization/12012] New: problems with -fprofile-arcs/-fbranch-probabilities kapalka at icslab dot agh dot edu dot pl
2003-08-21 17:08 ` [Bug optimization/12012] " kapalka at icslab dot agh dot edu dot pl
2003-08-21 17:09 ` kapalka at icslab dot agh dot edu dot pl
2003-08-23 17:47 ` pinskia at gcc dot gnu dot org
2003-10-19 18:04 ` pinskia at gcc dot gnu dot org
2003-11-13 20:59 ` apl at alum dot mit dot edu
2004-01-02 0:23 ` pinskia 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).