re PR c/7353 (Compiler dies on known working code (as of gcc 3.0))
PR c/7353 * c-decl.c, cp/decl.c (start_decl): Point users of the old initialized- typedef extension at __typeof__. From-SVN: r58298
This commit is contained in:
parent
4d054123bf
commit
188a949b5e
|
@ -1,3 +1,8 @@
|
|||
2002-10-18 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* decl.c (start_decl): Point users of the old initialized-
|
||||
typedef extension at __typeof__.
|
||||
|
||||
Thu Oct 17 17:14:07 CEST 2002 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR opt/7630
|
||||
|
|
|
@ -3485,7 +3485,7 @@ start_decl (declarator, declspecs, initialized, attributes)
|
|||
switch (TREE_CODE (decl))
|
||||
{
|
||||
case TYPE_DECL:
|
||||
error ("typedef `%s' is initialized",
|
||||
error ("typedef `%s' is initialized (use __typeof__ instead)",
|
||||
IDENTIFIER_POINTER (DECL_NAME (decl)));
|
||||
initialized = 0;
|
||||
break;
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
2002-10-18 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* decl.c (start_decl): Point users of the old initialized-
|
||||
typedef extension at __typeof__.
|
||||
|
||||
2002-10-18 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
PR c++/7676
|
||||
* class.c (add_method): Compare template parms too.
|
||||
|
||||
|
||||
2002-10-17 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* mangle.c (globals): Add entity and need_abi_warning.
|
||||
|
@ -27,7 +32,7 @@
|
|||
PR c++/7478
|
||||
* cvt.c (convert_to_reference): Allow references as the incoming
|
||||
type.
|
||||
|
||||
|
||||
PR c++/8134
|
||||
* tree.c (zero_init_p): Always return 1.
|
||||
|
||||
|
@ -50,7 +55,7 @@
|
|||
fields.
|
||||
* pt.c (convert_template_argument): Do not allow variably modified
|
||||
types as template arguments.
|
||||
* tree.c (variably_modified_type_p): New function.
|
||||
* tree.c (variably_modified_type_p): New function.
|
||||
|
||||
2002-10-11 Jason Molenda <jmolenda@apple.com>
|
||||
|
||||
|
@ -61,7 +66,7 @@
|
|||
|
||||
PRs C++/6803, C++/7721 and C++/7803
|
||||
* decl.c (grokdeclarator): Gracefully handle template-name as
|
||||
decl-specifier.
|
||||
decl-specifier.
|
||||
|
||||
2002-10-09 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
|
|
|
@ -7328,7 +7328,7 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
|
|||
switch (TREE_CODE (decl))
|
||||
{
|
||||
case TYPE_DECL:
|
||||
error ("typedef `%D' is initialized", decl);
|
||||
error ("typedef `%D' is initialized (use __typeof__ instead)", decl);
|
||||
initialized = 0;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue