This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/52778] New: gcc crashes with -flto on PA-RISC
- From: "mikulas at artax dot karlin.mff.cuni.cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Mar 2012 18:16:10 +0000
- Subject: [Bug lto/52778] New: gcc crashes with -flto on PA-RISC
- Auto-submitted: auto-generated
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.