public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/7948] gcc fails to fault gnu extension with -std=c99
[not found] <20020917065601.7948.rearnsha@cambridge.arm.com>
@ 2004-08-11 21:05 ` jsm28 at gcc dot gnu dot org
0 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-08-11 21:05 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |16989
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7948
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/7948] gcc fails to fault gnu extension with -std=c99
[not found] <bug-7948-1378@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-06-04 17:00 ` jsm28 at gcc dot gnu dot org
@ 2006-09-19 3:31 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-19 3:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-19 03:30 -------
*** Bug 29125 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |neil at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7948
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/7948] gcc fails to fault gnu extension with -std=c99
[not found] <bug-7948-1378@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-05-18 18:22 ` mrs at gcc dot gnu dot org
@ 2006-06-04 17:00 ` jsm28 at gcc dot gnu dot org
2006-09-19 3:31 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-06-04 17:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jsm28 at gcc dot gnu dot org 2006-06-04 17:00 -------
Fixed for 4.2.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7948
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/7948] gcc fails to fault gnu extension with -std=c99
[not found] <bug-7948-1378@http.gcc.gnu.org/bugzilla/>
2005-12-10 5:45 ` pinskia at gcc dot gnu dot org
2006-05-09 0:49 ` mrs at apple dot com
@ 2006-05-18 18:22 ` mrs at gcc dot gnu dot org
2006-06-04 17:00 ` jsm28 at gcc dot gnu dot org
2006-09-19 3:31 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mrs at gcc dot gnu dot org @ 2006-05-18 18:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from mrs at gcc dot gnu dot org 2006-05-18 18:22 -------
Subject: Bug 7948
Author: mrs
Date: Thu May 18 18:22:12 2006
New Revision: 113888
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113888
Log:
Fix up vla, vm and [*] sematics.
PR c/18740
PR c/7948
PR c/25802
* c-tree.h (struct c_arg_info): Add had_vla_unspec.
(c_vla_unspec_p): Add.
(c_vla_type_p): Add.
* c-decl.c (struct c_scope): Add had_vla_unspec.
(build_array_declarator): Add support for [*].
(grokdeclarator): Likewise.
(grokparms): Likewise.
(get_parm_info): Likewise.
* c-objc-common.c (c_vla_unspec_p): Likewise.
* c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
* c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
typeof when argument is a variably modified type not inside sizeof or
alignof.
(c_parser_direct_declarator_inner): Propagate errors.
(c_parser_sizeof_expression): Add support for [*].
* c-typeck.c (c_vla_type_p): Add.
(composite_type): Add support for vla compositing.
(comptypes_internal): Add support for vla compatibility.
(c_expr_sizeof_expr): Evaluate vla arguments.
* tree.c (variably_modified_type_p): Update comment for [*].
testsuite:
* gcc.dg/c90-arraydecl-1.c: Update for vla, vm [*] fixups.
* gcc.dg/vla-4.c: Add.
* gcc.dg/vla-5.c: Add.
* gcc.dg/vla-6.c: Add.
Added:
trunk/gcc/testsuite/gcc.dg/vla-4.c
trunk/gcc/testsuite/gcc.dg/vla-5.c
trunk/gcc/testsuite/gcc.dg/vla-6.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/c-objc-common.c
trunk/gcc/c-objc-common.h
trunk/gcc/c-parser.c
trunk/gcc/c-tree.h
trunk/gcc/c-typeck.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/c90-arraydecl-1.c
trunk/gcc/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7948
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/7948] gcc fails to fault gnu extension with -std=c99
[not found] <bug-7948-1378@http.gcc.gnu.org/bugzilla/>
2005-12-10 5:45 ` pinskia at gcc dot gnu dot org
@ 2006-05-09 0:49 ` mrs at apple dot com
2006-05-18 18:22 ` mrs at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mrs at apple dot com @ 2006-05-09 0:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mrs at apple dot com 2006-05-09 00:48 -------
I have a fix for this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7948
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/7948] gcc fails to fault gnu extension with -std=c99
[not found] <bug-7948-1378@http.gcc.gnu.org/bugzilla/>
@ 2005-12-10 5:45 ` pinskia at gcc dot gnu dot org
2006-05-09 0:49 ` mrs at apple dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-10 5:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-10 05:45 -------
_Complex int is another extension which is only warned with -pedantic included
with -std=c99.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-09-10 16:28:52 |2005-12-10 05:45:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7948
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-09-19 3:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20020917065601.7948.rearnsha@cambridge.arm.com>
2004-08-11 21:05 ` [Bug c/7948] gcc fails to fault gnu extension with -std=c99 jsm28 at gcc dot gnu dot org
[not found] <bug-7948-1378@http.gcc.gnu.org/bugzilla/>
2005-12-10 5:45 ` pinskia at gcc dot gnu dot org
2006-05-09 0:49 ` mrs at apple dot com
2006-05-18 18:22 ` mrs at gcc dot gnu dot org
2006-06-04 17:00 ` jsm28 at gcc dot gnu dot org
2006-09-19 3:31 ` 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).