This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles
- From: "rep dot nop at aon dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2005 17:36:00 -0000
- Subject: [Bug c/24371] New: -fno-unit-at-a-time ignored in multifile compiles
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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