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

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