This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32329] Use of option "-fwhole-program" needs to exclude option "-c" in spec file
- From: "rob1weld at aol dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2007 08:26:49 -0000
- Subject: [Bug c/32329] Use of option "-fwhole-program" needs to exclude option "-c" in spec file
- References: <bug-32329-13830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rob1weld at aol dot com 2007-06-14 08:26 -------
Agreed. After a 20 hour day the proximity of the word `-fwhole-program' to the
attribute `externally_visible' while juggling three things at once did not work
out so good.
Perhaps a compiler warning message could be created that when "-c" and
"-fwhole-program" are used together without using "externally_visible" in the
file the result is essentially an un-linkable object.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32329