public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14050] New: c99 restrict doesn't work in abs declarator
@ 2004-02-06 18:00 mrs at apple dot com
2004-02-06 18:05 ` [Bug c/14050] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mrs at apple dot com @ 2004-02-06 18:00 UTC (permalink / raw)
To: gcc-bugs
c99's restrict doesn't work in an abstract declarator:
int regexec(int [restrict]);
t7.c:1: error: static or type qualifiers in abstract declarator
gcc version 3.4 20031207 (experimental)
In
http://gcc.gnu.org/ml/gcc/2004-02/msg00461.html
Nathan claimed it was valid.
--
Summary: c99 restrict doesn't work in abs declarator
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mrs at apple dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-apple-darwin6.3
GCC host triplet: powerpc-apple-darwin6.3
GCC target triplet: powerpc-apple-darwin6.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14050
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/14050] c99 restrict doesn't work in abs declarator
2004-02-06 18:00 [Bug c/14050] New: c99 restrict doesn't work in abs declarator mrs at apple dot com
@ 2004-02-06 18:05 ` pinskia at gcc dot gnu dot org
2004-02-06 18:08 ` mrs at apple dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-06 18:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-06 18:05 -------
Confirmed, not a regression.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Known to fail| |3.5.0 2.95.3 3.0.4 3.3.1
| |3.2.3
Last reconfirmed|0000-00-00 00:00:00 |2004-02-06 18:05:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14050
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/14050] c99 restrict doesn't work in abs declarator
2004-02-06 18:00 [Bug c/14050] New: c99 restrict doesn't work in abs declarator mrs at apple dot com
2004-02-06 18:05 ` [Bug c/14050] " pinskia at gcc dot gnu dot org
@ 2004-02-06 18:08 ` mrs at apple dot com
2004-02-06 18:28 ` [Bug c/14050] [DR289] " jsm28 at gcc dot gnu dot org
2005-08-31 20:18 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: mrs at apple dot com @ 2004-02-06 18:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mrs at apple dot com 2004-02-06 18:08 -------
Comipler flags: -std=c99
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14050
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/14050] [DR289] c99 restrict doesn't work in abs declarator
2004-02-06 18:00 [Bug c/14050] New: c99 restrict doesn't work in abs declarator mrs at apple dot com
2004-02-06 18:05 ` [Bug c/14050] " pinskia at gcc dot gnu dot org
2004-02-06 18:08 ` mrs at apple dot com
@ 2004-02-06 18:28 ` jsm28 at gcc dot gnu dot org
2005-08-31 20:18 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-02-06 18:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jsm28 at gcc dot gnu dot org 2004-02-06 18:28 -------
It seems I did implement this C99 requirement when implementing this feature
after all (without considering whether it might be a defect), with the
error message shown rather than in the grammar. Suspending until DR289
appears in the DR logs with an indication of the intended resolution.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |SUSPENDED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14050
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/14050] [DR289] c99 restrict doesn't work in abs declarator
2004-02-06 18:00 [Bug c/14050] New: c99 restrict doesn't work in abs declarator mrs at apple dot com
` (2 preceding siblings ...)
2004-02-06 18:28 ` [Bug c/14050] [DR289] " jsm28 at gcc dot gnu dot org
@ 2005-08-31 20:18 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 19:56 -------
http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_289.htm
This was decided that this was a defect at least as far as I can see.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |NEW
Last reconfirmed|2005-07-02 01:57:22 |2005-08-31 19:56:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14050
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-31 19:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-06 18:00 [Bug c/14050] New: c99 restrict doesn't work in abs declarator mrs at apple dot com
2004-02-06 18:05 ` [Bug c/14050] " pinskia at gcc dot gnu dot org
2004-02-06 18:08 ` mrs at apple dot com
2004-02-06 18:28 ` [Bug c/14050] [DR289] " jsm28 at gcc dot gnu dot org
2005-08-31 20:18 ` pinskia 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).