diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17b63f45377..61aa87d776d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-04-25 Eric Botcazou + + * c-decl.c (grokdeclarator): Remove outdated ??? note + on invalid declaration of flexible array members. + 2002-04-25 Richard Henderson * doc/invoke.texi: Document -gdwarf{,-2} vs debug level. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index fed2e5084df..9cef1874dc6 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4429,10 +4429,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) } else if (decl_context == FIELD) { - /* ??? Need to check somewhere that this is a structure - and not a union, that this field is last, and that - this structure has at least one other named member. */ - if (pedantic && !flag_isoc99 && !in_system_header) pedwarn ("ISO C89 does not support flexible array members");