This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/66488] -fipa-pta -flto segfault


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...).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]