This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/66488] -fipa-pta -flto segfault
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jun 2015 08:19:21 +0000
- Subject: [Bug lto/66488] -fipa-pta -flto segfault
- Auto-submitted: auto-generated
- References: <bug-66488-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66488
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2015-06-11
Ever confirmed|0 |1
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
You compile without optimization? (no -O2 for example?)
Note that I forgot that with -flto a single preprocessed file doesn't really
help to reproduce. We'd need a minimal set of preprocessed sources where
g++ <flags> -flto -r -nostdlib <preprocessed sources>
reproduces the issue (so compile & link on the same command-line preferably).
With -r -nostdlib you avoid linker errors later.
Reducing is easier with -flto-partition=1to1 (if the issue reproduces with
that...).