-
- Downloads
re PR c/37724 ("initialization from incompatible pointer type" does not say...
re PR c/37724 ("initialization from incompatible pointer type" does not say which field is being initialized) 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. From-SVN: r160418
Showing
- gcc/ChangeLog 14 additions, 1 deletiongcc/ChangeLog
- gcc/c-typeck.c 14 additions, 11 deletionsgcc/c-typeck.c
- gcc/testsuite/ChangeLog 8 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/c90-const-expr-10.c 1 addition, 1 deletiongcc/testsuite/gcc.dg/c90-const-expr-10.c
- gcc/testsuite/gcc.dg/c99-const-expr-10.c 1 addition, 1 deletiongcc/testsuite/gcc.dg/c99-const-expr-10.c
- gcc/testsuite/gcc.dg/init-bad-7.c 11 additions, 0 deletionsgcc/testsuite/gcc.dg/init-bad-7.c
Loading
Please register or sign in to comment