This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31490] [4.6 Regression] Compile error section type conflict
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jan 2011 14:10:23 +0000
- Subject: [Bug middle-end/31490] [4.6 Regression] Compile error section type conflict
- Auto-submitted: auto-generated
- References: <bug-31490-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31490
--- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-27 14:09:17 UTC ---
Created attachment 23140
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23140
gcc46-pr31490.patch
Incomplete patch. pr31490-2.c testcase works (and thus the original one too),
but what still doesn't work is pr31490-3.c, as we call get_variable_section
only from assemble_variable at which point we immediately switch_to_section and
thus it is too late for the second variable to change section flags.