public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/16490] New: segfault while compiling with -fprofile-use
@ 2004-07-12  8:47 kapalka at icslab dot agh dot edu dot pl
  2004-07-12  8:50 ` [Bug rtl-optimization/16490] " kapalka at icslab dot agh dot edu dot pl
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: kapalka at icslab dot agh dot edu dot pl @ 2004-07-12  8:47 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-08-17  0:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-12  8:47 [Bug rtl-optimization/16490] New: segfault while compiling with -fprofile-use kapalka at icslab dot agh dot edu dot pl
2004-07-12  8:50 ` [Bug rtl-optimization/16490] " kapalka at icslab dot agh dot edu dot pl
2004-07-12  8:51 ` kapalka at icslab dot agh dot edu dot pl
2004-07-12 14:26 ` pinskia at gcc dot gnu dot org
2004-08-05 15:26 ` belyshev at lubercy dot com
2004-08-08  1:26 ` wilson at gcc dot gnu dot org
2004-08-08  1:26 ` wilson at gcc dot gnu dot org
2004-08-11 20:05 ` cvs-commit at gcc dot gnu dot org
2004-08-11 20:08 ` cvs-commit at gcc dot gnu dot org
2004-08-11 20:10 ` wilson at gcc dot gnu dot org
2004-08-11 21:05 ` pinskia at gcc dot gnu dot org
2004-08-16 22:03 ` wilson at gcc dot gnu dot org
2004-08-17  0:14 ` wilson 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).