public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41554]  New: -flto and -fwhopr should be moved to common.opt
@ 2009-10-03 12:25 dnovillo at gcc dot gnu dot org
  2009-10-03 22:17 ` [Bug lto/41554] " rguenth at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2009-10-03 12:25 UTC (permalink / raw)
  To: gcc-bugs

Both options are now recognized by individual front ends.  They should be moved
to common.opt.  Individual front end validation could be done via a langhook.


-- 
           Summary: -flto and -fwhopr should be moved to common.opt
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: dnovillo at gcc dot gnu dot org
        ReportedBy: dnovillo at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

* [Bug lto/41554] -flto and -fwhopr should be moved to common.opt
  2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
@ 2009-10-03 22:17 ` rguenth at gcc dot gnu dot org
  2009-10-05 21:15 ` laurent at guerby dot net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-03 22:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-10-03 22:16 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-03 22:16:58
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

* [Bug lto/41554] -flto and -fwhopr should be moved to common.opt
  2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
  2009-10-03 22:17 ` [Bug lto/41554] " rguenth at gcc dot gnu dot org
@ 2009-10-05 21:15 ` laurent at guerby dot net
  2009-10-05 21:16 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: laurent at guerby dot net @ 2009-10-05 21:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from laurent at guerby dot net  2009-10-05 21:15 -------
Not set for gnat1 (Ada):

(gdb) b gate_lto_out
Breakpoint 1 at 0xedd700: file ../../trunk/gcc/lto-streamer.c, line 803.
(gdb) r  -quiet -dumpbase p.adb -auxbase p -O3 -flto -mtune=generic p.adb -o
/tmp/cclbAgyw.s
Starting program:
/home/guerby/install-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/gnat1
-quiet -dumpbase p.adb -auxbase p -O3 -flto -mtune=generic p.adb -o
/tmp/cclbAgyw.s

Breakpoint 1, gate_lto_out () at ../../trunk/gcc/lto-streamer.c:803
803       return ((flag_generate_lto || in_lto_p)
(gdb) p in_lto_p
$1 = 0 '\0'
(gdb) p flag_generate_lto
$2 = 0


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent at guerby dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

* [Bug lto/41554] -flto and -fwhopr should be moved to common.opt
  2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
  2009-10-03 22:17 ` [Bug lto/41554] " rguenth at gcc dot gnu dot org
  2009-10-05 21:15 ` laurent at guerby dot net
@ 2009-10-05 21:16 ` pinskia at gcc dot gnu dot org
  2009-10-06  7:39 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-05 21:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-10-05 21:16 -------
http://gcc.gnu.org/ml/gcc-patches/2009-09/msg02102.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

* [Bug lto/41554] -flto and -fwhopr should be moved to common.opt
  2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-10-05 21:16 ` pinskia at gcc dot gnu dot org
@ 2009-10-06  7:39 ` ebotcazou at gcc dot gnu dot org
  2009-10-08 21:36 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-10-06  7:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ebotcazou at gcc dot gnu dot org  2009-10-06 07:38 -------
> Not set for gnat1 (Ada):

LTO doesn't work for Ada because of the sizetype issue.  I have a patch to make
it sort of work for pure Ada code, but mixed-language support is out of
question for the time being, we'll need to switch Ada to unsigned sizetype
first.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

* [Bug lto/41554] -flto and -fwhopr should be moved to common.opt
  2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-10-06  7:39 ` ebotcazou at gcc dot gnu dot org
@ 2009-10-08 21:36 ` jsm28 at gcc dot gnu dot org
  2009-10-31 12:52 ` rguenth at gcc dot gnu dot org
  2009-12-11 16:55 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-10-08 21:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2009-10-08 21:36 -------
Likewise, -Wabi and -Wpsabi belong on common.opt, and the post_options
processing belongs in common code not in individual front ends.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

* [Bug lto/41554] -flto and -fwhopr should be moved to common.opt
  2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-10-08 21:36 ` jsm28 at gcc dot gnu dot org
@ 2009-10-31 12:52 ` rguenth at gcc dot gnu dot org
  2009-12-11 16:55 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-31 12:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-10-31 12:52 -------
Hmm, -flto and -fwhopr are in common.opt.  The -Wpsabi and -Wabi options are
not, but I fail to see why this is the fault of LTO.

I have a patch to move the -flto / -fwhopr postprocessing to common code.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

* [Bug lto/41554] -flto and -fwhopr should be moved to common.opt
  2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-10-31 12:52 ` rguenth at gcc dot gnu dot org
@ 2009-12-11 16:55 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-11 16:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2009-12-11 16:54 -------
Fixed.  -Wabi and -Wpsabi is a non-LTO specific issue.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41554


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

end of thread, other threads:[~2009-12-11 16:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-03 12:25 [Bug lto/41554] New: -flto and -fwhopr should be moved to common.opt dnovillo at gcc dot gnu dot org
2009-10-03 22:17 ` [Bug lto/41554] " rguenth at gcc dot gnu dot org
2009-10-05 21:15 ` laurent at guerby dot net
2009-10-05 21:16 ` pinskia at gcc dot gnu dot org
2009-10-06  7:39 ` ebotcazou at gcc dot gnu dot org
2009-10-08 21:36 ` jsm28 at gcc dot gnu dot org
2009-10-31 12:52 ` rguenth at gcc dot gnu dot org
2009-12-11 16:55 ` rguenth at gcc dot gnu dot 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).