This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/25521] change semantics of const volatile variables
- From: "drepper at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2005 19:38:55 -0000
- Subject: [Bug middle-end/25521] change semantics of const volatile variables
- References: <bug-25521-700@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from drepper at redhat dot com 2005-12-21 19:38 -------
Using gcc's section attributes won't fully work either.
Using __attribute((section(".rodata"))) is OK in the compiler, although the
assembler (correctly) complaints. But what is really needed is
__attribute((section(".rodata.cst8"))). This will cause gcc to fail with an
ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25521