This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 15236 pedantic switch modifies treatment of non-ISO compliant enumerations


"Manuel LÃpez-IbÃÃez" <lopezibanez@gmail.com> writes:

> 2008-08-05  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
>   PR 15236
>   * diagnostic.c (pedwarn_at): New.
>   * toplev.h (pedwarn_at): Declare.
>   * c-tree.h (build_enumerator): Update declaration.
>   * c-decl.c (finish_enum): Update comment.
>   (build_enumerator): Take a location parameter. Give a pedwarn but do
> not perform any conversion.
>   * c-parser.c (c_parser_enum_specifier): Set correct location for enumerator.
>
> testsuite/
>   * gcc.dg/pr15236.c: New.
>   * gcc.dg/torture/pr25183.c: Update.

The middle-end patches are OK.  Please let the C frontend maintainers
comment on the C frontend patches.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]