This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32450] New: -pg seemingly causes miscompilation
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2007 09:03:03 -0000
- Subject: [Bug middle-end/32450] New: -pg seemingly causes miscompilation
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
CP2K (see PR 29975) compiles fine with current trunk using
'-O3 -ffast-math -ftree-vectorize -march=native -funroll-loops'
but the code stops with a bogus error message using
'-O3 -ffast-math -ftree-vectorize -march=native -funroll-loops -pg'
to reproduce see comment 112 in PR 29975 to obtain the code and the example
inputs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975#c112
I've tested this using:
Target: x86_64-unknown-linux-gnu
Configured with: /data/vondele/gcc_trunk/gcc/configure
--prefix=/data/vondele/gcc_trunk/build --enable-languages=c,fortran
--with-mpfr=/data/programs/mpfr/
Thread model: posix
gcc version 4.3.0 20070620 (experimental)
--
Summary: -pg seemingly causes miscompilation
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32450