public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/63603] New: [4.9/5 Regression] Linking with -fno-lto still invokes LTO
@ 2014-10-20 13:58 burnus at gcc dot gnu.org
  2014-10-20 15:22 ` [Bug lto/63603] " burnus at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-10-20 13:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63603

            Bug ID: 63603
           Summary: [4.9/5 Regression] Linking with -fno-lto still invokes
                    LTO
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

Running

  echo "int main() {return 0;}" >  foo.c
  gcc -flto -ffat-lto-objects -c foo.c
  gcc -v -fno-lto foo.o 2>&1|grep lto1

shows that the -fno-lto is ignored for linking as lto1 is always invoked with
GCC 4.9 and 5.

Using GCC 4.8, LTO is not automatically invoked for linking but has to be
passed manually. Hence, it works there.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-10-23  6:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-20 13:58 [Bug lto/63603] New: [4.9/5 Regression] Linking with -fno-lto still invokes LTO burnus at gcc dot gnu.org
2014-10-20 15:22 ` [Bug lto/63603] " burnus at gcc dot gnu.org
2014-10-21  8:59 ` rguenth at gcc dot gnu.org
2014-10-21  9:50 ` burnus at gcc dot gnu.org
2014-10-21 10:18 ` burnus at gcc dot gnu.org
2014-10-21 11:53 ` rguenther at suse dot de
2014-10-22  8:42 ` burnus at gcc dot gnu.org
2014-10-22  8:48 ` rguenther at suse dot de
2014-10-22 21:15 ` burnus at gcc dot gnu.org
2014-10-22 22:10 ` burnus at gcc dot gnu.org
2014-10-23  6:58 ` burnus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).