------- Comment #6 from manu at gcc dot gnu dot org 2008-08-13 10:20 ------- Subject: Bug 15236
Author: manu Date: Wed Aug 13 10:19:03 2008 New Revision: 139050 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139050 Log: 2008-08-13 Manuel Lopez-Ibanez <[EMAIL PROTECTED]> PR c/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. Added: trunk/gcc/testsuite/gcc.dg/pr15236.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-decl.c trunk/gcc/c-parser.c trunk/gcc/c-tree.h trunk/gcc/diagnostic.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/torture/pr25183.c trunk/gcc/toplev.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15236