public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/10671] gcc ignors named notation for pragma arguments
[not found] <20030507202600.10671.berndtrog@yahoo.com>
@ 2003-05-26 14:43 ` pinskia@physics.uc.edu
2005-02-16 21:34 ` berndtrog at yahoo dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-26 14:43 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10671
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-05-26 14:31:17
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-05-26 14:31 -------
See Dara's comment.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/10671] gcc ignors named notation for pragma arguments
[not found] <20030507202600.10671.berndtrog@yahoo.com>
2003-05-26 14:43 ` [Bug ada/10671] gcc ignors named notation for pragma arguments pinskia@physics.uc.edu
@ 2005-02-16 21:34 ` berndtrog at yahoo dot com
2005-03-31 10:31 ` [Bug ada/10671] improve error message for named notation used in pragma charlet at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: berndtrog at yahoo dot com @ 2005-02-16 21:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From berndtrog at yahoo dot com 2005-02-16 18:39 -------
gcc version 4.0.0 20050215 and gcc-3.4.3 have this bug, too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10671
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/10671] improve error message for named notation used in pragma
[not found] <20030507202600.10671.berndtrog@yahoo.com>
2003-05-26 14:43 ` [Bug ada/10671] gcc ignors named notation for pragma arguments pinskia@physics.uc.edu
2005-02-16 21:34 ` berndtrog at yahoo dot com
@ 2005-03-31 10:31 ` charlet at gcc dot gnu dot org
2005-06-16 8:47 ` cvs-commit at gcc dot gnu dot org
2005-06-16 9:10 ` charlet at gcc dot gnu dot org
4 siblings, 0 replies; 5+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-03-31 10:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2005-03-31 10:28 -------
There is no bug here: named notation is not supported for this pragma.
Named notation is also not supported for any of the Ada defined pragmas,
so there is no reason to expect this to work.
We'll see if the error message can be improved in this case, but that's
the only thing to be considered in this report.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Summary|gcc ignors named notation |improve error message for
|for pragma arguments |named notation used in
| |pragma
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10671
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/10671] improve error message for named notation used in pragma
[not found] <20030507202600.10671.berndtrog@yahoo.com>
` (2 preceding siblings ...)
2005-03-31 10:31 ` [Bug ada/10671] improve error message for named notation used in pragma charlet at gcc dot gnu dot org
@ 2005-06-16 8:47 ` cvs-commit at gcc dot gnu dot org
2005-06-16 9:10 ` charlet at gcc dot gnu dot org
4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-16 8:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-16 08:46 -------
Subject: Bug 10671
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: charlet@gcc.gnu.org 2005-06-16 08:46:36
Modified files:
gcc/ada : sem_prag.adb snames.h snames.ads snames.adb
tbuild.ads tbuild.adb
Log message:
2005-06-14 Robert Dewar <dewar@adacore.com>
Ed Schonberg <schonberg@adacore.com>
PR ada/10671
* sem_prag.adb: Implement pragma Persistent_BSS
Remove obsolete pragma Persistent_Data, Persistent_Object
Set Ada_Version_Explicit, for implementation of AI-362
Test Ada_Version_Explicit for Preelaborate_05 and Pure_05
Add processing for pragma Pure_05 and Preelaborate_05
Add processing for Assertion_Policy pragma
Add pragma identifiers for Assert
(Analyze_Pragma, case Assert): Check number of arguments
(Process_Inline): Additional guard against an illegal program, where the
argument of the pragma is undefined, and warnings on redundant
constructs are enabled.
(Analyze_Pragma, case Obsolescent): Allow an optional second argument
Ada_05 to this pragma, specifying that the pragma is only active in
Ada_05 mode.
(Check_Arg_Order): New procedure
Add appropriate calls to this procedure throughout
Also throughout, check entity name before doing any other checks
* snames.h snames.ads, snames.adb: Add pragma Persistent_BSS
Remove obsolete pragma Persistent_Data, Persistent_Object
Add entries for pragma Pure_05 and Preelaborate_05
Add entries for Assertion_Policy pragma and associated names
Add some names for pragma argument processing
* tbuild.ads, tbuild.adb: (Make_Linker_Section_Pragma): New function
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/sem_prag.adb.diff?cvsroot=gcc&r1=1.50&r2=1.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/snames.h.diff?cvsroot=gcc&r1=1.15&r2=1.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/snames.ads.diff?cvsroot=gcc&r1=1.38&r2=1.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/snames.adb.diff?cvsroot=gcc&r1=1.37&r2=1.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/tbuild.ads.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/tbuild.adb.diff?cvsroot=gcc&r1=1.11&r2=1.12
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10671
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/10671] improve error message for named notation used in pragma
[not found] <20030507202600.10671.berndtrog@yahoo.com>
` (3 preceding siblings ...)
2005-06-16 8:47 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-16 9:10 ` charlet at gcc dot gnu dot org
4 siblings, 0 replies; 5+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-06-16 9:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2005-06-16 09:10 -------
Error message improved on mainline.
Arno
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10671
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-16 9:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030507202600.10671.berndtrog@yahoo.com>
2003-05-26 14:43 ` [Bug ada/10671] gcc ignors named notation for pragma arguments pinskia@physics.uc.edu
2005-02-16 21:34 ` berndtrog at yahoo dot com
2005-03-31 10:31 ` [Bug ada/10671] improve error message for named notation used in pragma charlet at gcc dot gnu dot org
2005-06-16 8:47 ` cvs-commit at gcc dot gnu dot org
2005-06-16 9:10 ` charlet at gcc dot gnu dot org
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).