public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/24371]  New: -fno-unit-at-a-time ignored in multifile compiles
@ 2005-10-14 17:36 rep dot nop at aon dot at
  2005-10-14 19:02 ` [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rep dot nop at aon dot at @ 2005-10-14 17:36 UTC (permalink / raw)
  To: gcc-bugs

In gcc/c-opts.c c_common_post_options() this snipped sets -funit-at-a-time
unconditionally, and doesn't even warn that any -fno-unit-at-a-time was
ignored:

  /* If we are given more than one input file, we must use
     unit-at-a-time mode.  */
  if (num_in_fnames > 1)
    flag_unit_at_a_time = 1;


Please either warn that -fno-unit-at-a-time was overridden (see proposed
patchlet attached to  http://gcc.gnu.org/ml/gcc-help/2005-10/msg00068.html ) or
honor the user turning off flag_unit_at_a_time.

Thank you,


-- 
           Summary: -fno-unit-at-a-time ignored in multifile compiles
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rep dot nop at aon dot at
 GCC build triplet: i686-gnu-linux
  GCC host triplet: i686-gnu-linux
GCC target triplet: i686-gnu-linux


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


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

* [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode
  2005-10-14 17:36 [Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles rep dot nop at aon dot at
@ 2005-10-14 19:02 ` pinskia at gcc dot gnu dot org
  2005-10-27 15:48 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-14 19:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-14 19:02 -------
I think unit at a time is required for IMA because of the way it is
implemented.  I just wish non unit-at-a-time would go away and people fix up
their code is unit at a time would just work.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
  GCC build triplet|i686-gnu-linux              |
   GCC host triplet|i686-gnu-linux              |
 GCC target triplet|i686-gnu-linux              |
            Summary|-fno-unit-at-a-time ignored |-fno-unit-at-a-time ignored
                   |in multifile compiles       |in IMA mode


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


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

* [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode
  2005-10-14 17:36 [Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles rep dot nop at aon dot at
  2005-10-14 19:02 ` [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode pinskia at gcc dot gnu dot org
@ 2005-10-27 15:48 ` rguenth at gcc dot gnu dot org
  2006-09-16 17:47 ` aldot at gcc dot gnu dot org
  2006-09-16 18:02 ` aldot at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-10-27 15:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2005-10-27 15:48 -------
Confirmed as a diagnostics issue.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-27 15:48:43
               date|                            |


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


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

* [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode
  2005-10-14 17:36 [Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles rep dot nop at aon dot at
  2005-10-14 19:02 ` [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode pinskia at gcc dot gnu dot org
  2005-10-27 15:48 ` rguenth at gcc dot gnu dot org
@ 2006-09-16 17:47 ` aldot at gcc dot gnu dot org
  2006-09-16 18:02 ` aldot at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-09-16 17:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from aldot at gcc dot gnu dot org  2006-09-16 17:47 -------
Created an attachment (id=12284)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12284&action=view)
Add diagnostic message

Attaching a copy of the patch from the initial bugreport.


-- 


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


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

* [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode
  2005-10-14 17:36 [Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles rep dot nop at aon dot at
                   ` (2 preceding siblings ...)
  2006-09-16 17:47 ` aldot at gcc dot gnu dot org
@ 2006-09-16 18:02 ` aldot at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-09-16 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from aldot at gcc dot gnu dot org  2006-09-16 18:02 -------
Not worth fixing.


-- 

aldot at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-09-16 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-14 17:36 [Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles rep dot nop at aon dot at
2005-10-14 19:02 ` [Bug c/24371] -fno-unit-at-a-time ignored in IMA mode pinskia at gcc dot gnu dot org
2005-10-27 15:48 ` rguenth at gcc dot gnu dot org
2006-09-16 17:47 ` aldot at gcc dot gnu dot org
2006-09-16 18:02 ` aldot 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).