diff options
author | pzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-08 03:56:40 +0000 |
---|---|---|
committer | pzhao <pzhao@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-08 03:56:40 +0000 |
commit | 1183a806ac1b1d7042ce5056113e7ac3dfee39dc (patch) | |
tree | b977e0467d5267b3458fe2a20c3d142eb7180965 /gcc/lambda-code.c | |
parent | be77e727fd52369aa3cf4be4070d45b0de26aa1e (diff) | |
download | ppe42-gcc-1183a806ac1b1d7042ce5056113e7ac3dfee39dc.tar.gz ppe42-gcc-1183a806ac1b1d7042ce5056113e7ac3dfee39dc.zip |
gcc/
2010-06-08 Andrew Pinski <pinskia@gmail.com>
Shujing Zhao <pearly.zhao@oracle.com>
PR c/37724
* c-typeck.c (convert_for_assignment): Call pedwarn_init if the
implicit bad conversions is initialization.
(error_init): Use gmsgid instead of msgid for argument name and change
the call for error.
(pedwarn_init): Use gmsgid instead of msgid for argument name and
change the call for pedwarn.
(warning_init): Use gmsgid instead of msgid for argument name and
change the call for warning.
gcc/testsuite/
2010-06-08 Andrew Pinski <pinskia@gmail.com>
Shujing Zhao <pearly.zhao@oracle.com>
PR c/37724
* gcc.dg/c90-const-expr-10.c: Adjust.
* gcc.dg/c99-const-expr-10.c: Adjust.
* gcc.dg/init-bad-7.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lambda-code.c')
0 files changed, 0 insertions, 0 deletions