This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23296] New: Combination of -finstrument-functions and -O3 produces incorrect results
- From: "bart dot vanassche at yucom dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2005 05:54:49 -0000
- Subject: [Bug c++/23296] New: Combination of -finstrument-functions and -O3 produces incorrect results
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When compiling code with gcc 4.0.0 or 4.0.1 and when specifying both the
-finstrument-functions and the -O3 options, then __cyg_profile_func_enter() is
called two or more times successively with exactly the same arguments (called
function pointer and call site pointer). This should never happen.
--
Summary: Combination of -finstrument-functions and -O3 produces
incorrect results
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bart dot vanassche at yucom dot be
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i586-suse-linux
GCC host triplet: i586-suse-linux
GCC target triplet: i586-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23296