This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49551] common variables and -fdata-sections cause ICE in C front-end.
- From: "dougkwan at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 20:48:02 +0000
- Subject: [Bug c/49551] common variables and -fdata-sections cause ICE in C front-end.
- Auto-submitted: auto-generated
- References: <bug-49551-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49551
--- Comment #1 from Doug Kwan <dougkwan at google dot com> 2011-06-27 20:47:59 UTC ---
The variable x in the test case is should not be a common variable but the
DECL_COMMON is set after merging the first and the second declarations. That
ultimately leads to an ICE.