This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52999] [4.7/4.8 Regression] ICE, segmentation fault in c_tree_printer
- 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: Mon, 23 Apr 2012 09:58:38 +0000
- Subject: [Bug middle-end/52999] [4.7/4.8 Regression] ICE, segmentation fault in c_tree_printer
- Auto-submitted: auto-generated
- References: <bug-52999-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52999
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-23 09:58:38 UTC ---
Created attachment 27219
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27219
gcc48-pr52999.patch
This patch avoids the ICE when diagnosing the section conflict, but not sure
what to do to actually compile the testcase without errors. What ld.so does is
not exactly kosher from GCC POV (it wants to put non-constant, writable
variables into a section that GCC assumes is for constant variables that need
relocations).