[Bug lto/66488] -fipa-pta -flto segfault
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 11 08:19:00 GMT 2015
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...).
More information about the Gcc-bugs
mailing list