public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/52778] New: gcc crashes with -flto on PA-RISC
@ 2012-03-29 18:21 mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 18:26 ` [Bug lto/52778] " mikulas at artax dot karlin.mff.cuni.cz
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2012-03-29 18:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52778
Bug #: 52778
Summary: gcc crashes with -flto on PA-RISC
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mikulas@artax.karlin.mff.cuni.cz
Host: hppa-linux-gnu
Target: hppa-linux-gnu
Build: hppa-linux-gnu
When compiling a specific version of the Links browser on PA-RISC with -flto, I
got a crash in lto1.
The crash happens on gcc-4.7.0 and gcc-4.7.0-RC-20120302. It doesn't happen
with gcc-4.6.[23].
I compiled gcc without optimization to rule out a possibility of miscompiled
compiler. The crash still happens.
I couldn't reduce the crash to a simple example --- even minor changes in the
source code resulted in the crash going away. So I'm uploading all the source
files and include files so that someone can reproduce the crash. The system is
Debian 5 on PA-RISC.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/52778] gcc crashes with -flto on PA-RISC
2012-03-29 18:21 [Bug lto/52778] New: gcc crashes with -flto on PA-RISC mikulas at artax dot karlin.mff.cuni.cz
@ 2012-03-29 18:26 ` mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 18:30 ` mikulas at artax dot karlin.mff.cuni.cz
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2012-03-29 18:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52778
--- Comment #1 from mikulas at artax dot karlin.mff.cuni.cz 2012-03-29 18:25:43 UTC ---
I couldn't attach the file, so I placed in on
http://jikos.cz/~mikulas/gcc-crash-files.tar.bz2 . Download the archive, change
CC in the Makefile to point to your gcc-4.7.0 PA-RISC binary and run make. This
will reproduce the gcc crash.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/52778] gcc crashes with -flto on PA-RISC
2012-03-29 18:21 [Bug lto/52778] New: gcc crashes with -flto on PA-RISC mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 18:26 ` [Bug lto/52778] " mikulas at artax dot karlin.mff.cuni.cz
@ 2012-03-29 18:30 ` mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 19:02 ` mikulas at artax dot karlin.mff.cuni.cz
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2012-03-29 18:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52778
--- Comment #2 from mikulas at artax dot karlin.mff.cuni.cz 2012-03-29 18:29:34 UTC ---
Created attachment 27038
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27038
gdb session analyzing the core file
This is the gdb session analyzing the crash. The crash happens in the function
"set_is_used" where the variable "ann" was NULL.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/52778] gcc crashes with -flto on PA-RISC
2012-03-29 18:21 [Bug lto/52778] New: gcc crashes with -flto on PA-RISC mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 18:26 ` [Bug lto/52778] " mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 18:30 ` mikulas at artax dot karlin.mff.cuni.cz
@ 2012-03-29 19:02 ` mikulas at artax dot karlin.mff.cuni.cz
2012-05-07 13:18 ` rguenth at gcc dot gnu.org
2012-12-23 4:05 ` danglin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: mikulas at artax dot karlin.mff.cuni.cz @ 2012-03-29 19:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52778
--- Comment #3 from mikulas at artax dot karlin.mff.cuni.cz 2012-03-29 18:46:17 UTC ---
BTW. I found that there is another bug #52776 with -flto crash at the same
place.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/52778] gcc crashes with -flto on PA-RISC
2012-03-29 18:21 [Bug lto/52778] New: gcc crashes with -flto on PA-RISC mikulas at artax dot karlin.mff.cuni.cz
` (2 preceding siblings ...)
2012-03-29 19:02 ` mikulas at artax dot karlin.mff.cuni.cz
@ 2012-05-07 13:18 ` rguenth at gcc dot gnu.org
2012-12-23 4:05 ` danglin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-07 13:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52778
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-05-07
Ever Confirmed|0 |1
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-07 13:17:26 UTC ---
Can you try again after the fix for PR53195?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug lto/52778] gcc crashes with -flto on PA-RISC
2012-03-29 18:21 [Bug lto/52778] New: gcc crashes with -flto on PA-RISC mikulas at artax dot karlin.mff.cuni.cz
` (3 preceding siblings ...)
2012-05-07 13:18 ` rguenth at gcc dot gnu.org
@ 2012-12-23 4:05 ` danglin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-12-23 4:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52778
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> 2012-12-23 04:04:48 UTC ---
I had a successful build using your test files with
dave@mx3210:~/debian/mpfr/mpfr4-3.1.0/build/tests$ gcc-4.7 -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-4.7.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/hppa-linux-gnu/4.7/lto-wrapper
Target: hppa-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-4'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--disable-libssp --disable-libitm --enable-plugin --enable-objc-gc
--disable-libstdcxx-pch --enable-checking=release --build=hppa-linux-gnu
--host=hppa-linux-gnu --target=hppa-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-4)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-12-23 4:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 18:21 [Bug lto/52778] New: gcc crashes with -flto on PA-RISC mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 18:26 ` [Bug lto/52778] " mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 18:30 ` mikulas at artax dot karlin.mff.cuni.cz
2012-03-29 19:02 ` mikulas at artax dot karlin.mff.cuni.cz
2012-05-07 13:18 ` rguenth at gcc dot gnu.org
2012-12-23 4:05 ` danglin at gcc dot gnu.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).