This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37506] attribute section is not working with constant strings
- From: "nm127 at freemail dot hu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2008 07:14:04 -0000
- Subject: [Bug c/37506] attribute section is not working with constant strings
- References: <bug-37506-16706@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from nm127 at freemail dot hu 2008-09-14 07:14 -------
(In reply to comment #5)
> This is all expected, if you want a string constant to be in a different
> section, you need to put there your self by using a variable.
So the __attribute__ __section__ modifier is not recursively applied to all
child element?
If the __attribute__ __section__ is not recursive shouldn't it be possible to
specify explicitly this modifier for the child elements something like "z" and
"w" in comment #4?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37506