This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/10670] 'section' Machine_Attribute directive ignored
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2005 08:16:11 -0000
- Subject: [Bug ada/10670] 'section' Machine_Attribute directive ignored
- References: <20030507200600.10670.berndtrog@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-03-31 08:16 -------
'section' is not a machine attribute, it's an attribute of C-like languages.
The compiler is correct in rejecting it. Use pragma Linker_Section instead.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|NEW |RESOLVED
Keywords|wrong-code |
Resolution| |INVALID
Summary|gcc ignors 'pragma |'section' Machine_Attribute
|Machine_Attribute' directive|directive ignored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10670