diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-13 10:19:03 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-13 10:19:03 +0000 |
commit | e8fc0d3480bf8f266db2caa965af50776e270ec9 (patch) | |
tree | 1628ba21d162d8c904b22105327717febc42c784 /ylwrap | |
parent | 2725970784399fb8efb1c946472340c2de074f45 (diff) | |
download | ppe42-gcc-e8fc0d3480bf8f266db2caa965af50776e270ec9.tar.gz ppe42-gcc-e8fc0d3480bf8f266db2caa965af50776e270ec9.zip |
2008-08-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions