This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/32329] Use of option "-fwhole-program" needs to exclude option "-c" in spec file



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]