public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38243] New: Restrict constraint violation not an error with -pedantic-errors
@ 2008-11-24 3:10 neil at gcc dot gnu dot org
2008-11-24 9:08 ` [Bug c/38243] " schwab at suse dot de
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: neil at gcc dot gnu dot org @ 2008-11-24 3:10 UTC (permalink / raw)
To: gcc-bugs
The following violates constraint C99 6.7.3p2 yet is only a warning with
-pedantic-errors:
restrict struct s;
--
Summary: Restrict constraint violation not an error with -
pedantic-errors
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: neil at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38243
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/38243] Restrict constraint violation not an error with -pedantic-errors
2008-11-24 3:10 [Bug c/38243] New: Restrict constraint violation not an error with -pedantic-errors neil at gcc dot gnu dot org
@ 2008-11-24 9:08 ` schwab at suse dot de
2008-11-24 16:15 ` jsm28 at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: schwab at suse dot de @ 2008-11-24 9:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from schwab at suse dot de 2008-11-24 09:06 -------
*** Bug 38246 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38243
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/38243] Restrict constraint violation not an error with -pedantic-errors
2008-11-24 3:10 [Bug c/38243] New: Restrict constraint violation not an error with -pedantic-errors neil at gcc dot gnu dot org
2008-11-24 9:08 ` [Bug c/38243] " schwab at suse dot de
@ 2008-11-24 16:15 ` jsm28 at gcc dot gnu dot org
2009-04-19 18:25 ` jsm28 at gcc dot gnu dot org
2009-04-19 18:26 ` jsm28 at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-11-24 16:15 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |16989
nThis| |
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-11-24 16:13:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38243
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/38243] Restrict constraint violation not an error with -pedantic-errors
2008-11-24 3:10 [Bug c/38243] New: Restrict constraint violation not an error with -pedantic-errors neil at gcc dot gnu dot org
2008-11-24 9:08 ` [Bug c/38243] " schwab at suse dot de
2008-11-24 16:15 ` jsm28 at gcc dot gnu dot org
@ 2009-04-19 18:25 ` jsm28 at gcc dot gnu dot org
2009-04-19 18:26 ` jsm28 at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-04-19 18:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jsm28 at gcc dot gnu dot org 2009-04-19 18:25 -------
Subject: Bug 38243
Author: jsm28
Date: Sun Apr 19 18:25:07 2009
New Revision: 146356
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146356
Log:
PR c/38243
* c-decl.c (shadow_tag_warned): Diagnose use of restrict when
declaring a tag.
testsuite:
* gcc.dg/c99-restrict-3.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/c99-restrict-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38243
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/38243] Restrict constraint violation not an error with -pedantic-errors
2008-11-24 3:10 [Bug c/38243] New: Restrict constraint violation not an error with -pedantic-errors neil at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-04-19 18:25 ` jsm28 at gcc dot gnu dot org
@ 2009-04-19 18:26 ` jsm28 at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-04-19 18:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jsm28 at gcc dot gnu dot org 2009-04-19 18:26 -------
Fixed for 4.5.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to work| |4.5.0
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38243
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-19 18:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-24 3:10 [Bug c/38243] New: Restrict constraint violation not an error with -pedantic-errors neil at gcc dot gnu dot org
2008-11-24 9:08 ` [Bug c/38243] " schwab at suse dot de
2008-11-24 16:15 ` jsm28 at gcc dot gnu dot org
2009-04-19 18:25 ` jsm28 at gcc dot gnu dot org
2009-04-19 18:26 ` jsm28 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).