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: unassig...@gcc.gnu.org ReportedBy: miku...@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.