This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/15486] [3.3/3.4/3.5] -fdata-sections moves common vars to .bss
- From: "jifl-bugzilla at jifvik dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2004 04:42:28 -0000
- Subject: [Bug middle-end/15486] [3.3/3.4/3.5] -fdata-sections moves common vars to .bss
- References: <20040517064727.15486.jifl-bugzilla@jifvik.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jifl-bugzilla at jifvik dot org 2004-08-18 04:42 -------
Then remove the initialiser. The problem is just the same. I didn't realise it
would make a difference to anyone's opinion.
In my previous reply, I did lose a little perspective rather mistakenly (the
passage of time since this bug was submitted I guess) - this misbehaviour is
specific to -fdata-sections. What this means is that gcc behaves differently
with -fdata-sections and without, and breaks code with -fdata-sections, and not
without, which is not meant to happen.
Again: the change was not intentional, and is almost certainly easily restored
to the previous behaviour.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15486