public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: ada/10671: gcc ignors named notation for pragma arguments
@ 2003-05-12 7:16 Dara Hazeghi
0 siblings, 0 replies; 2+ messages in thread
From: Dara Hazeghi @ 2003-05-12 7:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR ada/10671; it has been noted by GNATS.
From: Dara Hazeghi <dhazeghi@yahoo.com>
To: berndtrog@yahoo.com, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: ada/10671: gcc ignors named notation for pragma arguments
Date: Mon, 12 May 2003 00:08:33 -0700
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
trail&database=gcc&pr=10671
Hello,
I can confirm this behavior on gcc 3.2.3 and mainline (20030510).
Dara
^ permalink raw reply [flat|nested] 2+ messages in thread
* ada/10671: gcc ignors named notation for pragma arguments
@ 2003-05-07 20:26 berndtrog
0 siblings, 0 replies; 2+ messages in thread
From: berndtrog @ 2003-05-07 20:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 10671
>Category: ada
>Synopsis: gcc ignors named notation for pragma arguments
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 07 20:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Bernd Trog
>Release: gcc version 3.3 20030127 (prerelease)
>Organization:
>Environment:
linux, i386
>Description:
$gnatmake bootloader.adb
gcc -c bootloader.adb
bootloader.adb:7:48: argument for pragma "machine_attribute" must be local name
gnatmake: "bootloader.adb" compilation error
Workaround: reordering the arguments :-/
>How-To-Repeat:
with Ada.Text_Io;
procedure bootloader is
procedure Boot;
pragma Machine_Attribute (
Attribute_Name => "section ("".bootloader"")",
Entity => Boot
);
procedure Boot
is
begin
Ada.Text_Io.Put_line("Test");
end;
begin
Ada.Text_Io.Put_line("Test");
end;
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-12 7:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 7:16 ada/10671: gcc ignors named notation for pragma arguments Dara Hazeghi
-- strict thread matches above, loose matches on Subject: below --
2003-05-07 20:26 berndtrog
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).