[Bug target/9552] [3.3/3.4 regression] [s390] ICE in named_section_flags, at varasm.c

uweigand at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 18 16:26:00 GMT 2003


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.



More information about the Gcc-bugs mailing list