This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/16490] New: segfault while compiling with -fprofile-use
- From: "kapalka at icslab dot agh dot edu dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2004 08:47:31 -0000
- Subject: [Bug rtl-optimization/16490] New: segfault while compiling with -fprofile-use
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Good morning,
I was compiling the ROOT v4.00.06a (root.cern.ch) on Itanium 2 platform, Linux
system with -fprofile-generate, I run a few benchmarks and next I tried to
re-compile the package with -fprofile-use. Unfortunately, the compilation
process stopped on the file "build/rmkdepend/parse.c" with the following error:
build/rmkdepend/parse.c: In function `undefine':
build/rmkdepend/parse.c:535: internal compiler error: Segmentation fault
To reproduce the bug, you should use the 2 files I'm enclosing with the bug
report. The command-line causing the error:
gcc -O2 -fprofile-use -fPIC -D_REENTRANT -c parse.i
However, even "gcc -O2 -fprofile-use -c parse.i" when the "parse.gcda" file is
NOT present gives the same error, obviously together with the information "file
parse.gcda not found, execution counts assumed to be zero".
My compiler version:
Reading specs from /opt/gcc3.4.1/lib/gcc/ia64-redhat-linux/3.4.1/specs
Configured with: ./configure --prefix=/opt/gcc3.4.1 --enable-shared
--enable-threads=posix --disable-checking --with-system-zlib
--enable-__cxa_atexit --host=ia64-redhat-linux --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.1
Best regards,
Michal Kapalka
--
Summary: segfault while compiling with -fprofile-use
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: rtl-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-redhat-linux
GCC host triplet: ia64-redhat-linux
GCC target triplet: ia64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16490