[Bug c/13586] internal compiler error: in named_section_flags, at varasm.c:412

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 6 18:05:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 18:05 -------
This is a dup of bug 9552 which is invalid code,
>From comment #8 from that bug:
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.

*** This bug has been marked as a duplicate of 9552 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13586



More information about the Gcc-bugs mailing list