This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/9552] [3.3/3.4 regression] [s390] ICE in named_section_flags, at varasm.c
- From: "uweigand at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2003 16:26:05 -0000
- Subject: [Bug target/9552] [3.3/3.4 regression] [s390] ICE in named_section_flags, at varasm.c
- References: <20030203191601.9552.csd_ob@daudt.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9552
------- Additional Comments From uweigand at gcc dot gnu dot org 2003-06-18 16:26 -------
One problem here is that the test case is actually incorrect:
it attempts to place a non-const global variable into a
read-only .eh_frame section.
Changing the test case to use
static const char __EH_FRAME_BEGIN__[]
makes the problem disappear.
However, I guess that even so we should not ICE. This is not s390-
related, however; the only s390-specific parts of this problem are
that s390 by default enables generation of .eh_frame even for C,
and that .eh_frame is read-only on s390.
The latter property is shared by most platforms, while the former
is only true for s390 and x86_64. To reproduce the problem on other
platforms it should suffice to build with -fasynchronous-unwind-tables.