This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21659] [4.3/4.4/4.5/4.6 Regression] [unit-at-a-time] "weak declaration must precede definition" error missing at >= O1
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jan 2011 16:05:13 +0000
- Subject: [Bug c/21659] [4.3/4.4/4.5/4.6 Regression] [unit-at-a-time] "weak declaration must precede definition" error missing at >= O1
- Auto-submitted: auto-generated
- References: <bug-21659-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21659
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |hubicka at gcc dot gnu.org
|gnu.org |
Known to fail| |
--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-22 16:04:49 UTC ---
I think with unit-at-a-time mode for all compilation settings, we should just
drop the restriction. Will make patch.