public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/47787] New: GCC with -flto combines preprocessed C sources
@ 2011-02-17 18:24 d.g.gorbachev at gmail dot com
  2011-02-18 12:24 ` [Bug driver/47787] [4.6 Regression] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2011-02-17 18:24 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: GCC with -flto combines preprocessed C sources
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


Compile testcase in attachment 23385 (bug 47786) with `gcc -v -flto -o
/dev/null main.i foo.i':

/usr/local/libexec/gcc/i686-pc-linux-gnu/4.6.0/cc1 -fpreprocessed main.i foo.i
-quiet -dumpbase main.i -mtune=generic -march=pentiumpro -auxbase main -version
-flto -o /tmp/cc3eBz9m.s

I don't think it is an intended behavior.


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

* [Bug driver/47787] [4.6 Regression] GCC with -flto combines preprocessed C sources
  2011-02-17 18:24 [Bug driver/47787] New: GCC with -flto combines preprocessed C sources d.g.gorbachev at gmail dot com
@ 2011-02-18 12:24 ` rguenth at gcc dot gnu.org
  2011-02-18 17:11 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-18 12:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.02.18 11:55:26
                 CC|                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |4.6.0
            Summary|GCC with -flto combines     |[4.6 Regression] GCC with
                   |preprocessed C sources      |-flto combines preprocessed
                   |                            |C sources
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-18 11:55:26 UTC ---
Confirmed.  It is not.


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

* [Bug driver/47787] [4.6 Regression] GCC with -flto combines preprocessed C sources
  2011-02-17 18:24 [Bug driver/47787] New: GCC with -flto combines preprocessed C sources d.g.gorbachev at gmail dot com
  2011-02-18 12:24 ` [Bug driver/47787] [4.6 Regression] " rguenth at gcc dot gnu.org
@ 2011-02-18 17:11 ` jakub at gcc dot gnu.org
  2011-02-18 21:27 ` jakub at gcc dot gnu.org
  2011-02-18 21:36 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-18 17:11 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-18 17:06:47 UTC ---
Created attachment 23396
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23396
gcc46-pr47787.patch

The http://gcc.gnu.org/viewcvs?view=revision&revision=164357
patch removed combinable just from ".i", ".c", "@c", but not from
"@cpp-output".
I doubt that was intentionally left out.


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

* [Bug driver/47787] [4.6 Regression] GCC with -flto combines preprocessed C sources
  2011-02-17 18:24 [Bug driver/47787] New: GCC with -flto combines preprocessed C sources d.g.gorbachev at gmail dot com
  2011-02-18 12:24 ` [Bug driver/47787] [4.6 Regression] " rguenth at gcc dot gnu.org
  2011-02-18 17:11 ` jakub at gcc dot gnu.org
@ 2011-02-18 21:27 ` jakub at gcc dot gnu.org
  2011-02-18 21:36 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-18 21:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-18 21:17:18 UTC ---
Author: jakub
Date: Fri Feb 18 21:17:14 2011
New Revision: 170286

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170286
Log:
    PR driver/47787
    * gcc.c (default_compilers): Clear combinable field for "@cpp-output".

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcc.c


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

* [Bug driver/47787] [4.6 Regression] GCC with -flto combines preprocessed C sources
  2011-02-17 18:24 [Bug driver/47787] New: GCC with -flto combines preprocessed C sources d.g.gorbachev at gmail dot com
                   ` (2 preceding siblings ...)
  2011-02-18 21:27 ` jakub at gcc dot gnu.org
@ 2011-02-18 21:36 ` jakub at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-02-18 21:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-18 21:18:38 UTC ---
Fixed.


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

end of thread, other threads:[~2011-02-18 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-17 18:24 [Bug driver/47787] New: GCC with -flto combines preprocessed C sources d.g.gorbachev at gmail dot com
2011-02-18 12:24 ` [Bug driver/47787] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-02-18 17:11 ` jakub at gcc dot gnu.org
2011-02-18 21:27 ` jakub at gcc dot gnu.org
2011-02-18 21:36 ` jakub 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).