r158765 - in /trunk/gcc: ChangeLog c-typeck.c t...
pzhao@gcc.gnu.org
pzhao@gcc.gnu.org
Tue Apr 27 02:40:00 GMT 2010
Author: pzhao
Date: Tue Apr 27 02:40:19 2010
New Revision: 158765
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158765
Log:
gcc/
2010-04-27 Shujing Zhao <pearly.zhao@oracle.com>
PR c/32207
* c-typeck.c (build_binary_op): Move forward check for comparison
pointer with null pointer constant and adjust the diagnostic message.
gcc/testsuite/
2010-04-27 Shujing Zhao <pearly.zhao@oracle.com>
PR c/32207
* gcc.dg/pr32207.c: New test.
* gcc.dg/misc-column.c: Adjust expected warning.
* gcc.dg/Walways-true-1.c: Likewise.
* gcc.dg/Walways-true-2.c: Likewise.
* gcc.dg/warn-addr-cmp.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/pr32207.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-typeck.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/Walways-true-1.c
trunk/gcc/testsuite/gcc.dg/Walways-true-2.c
trunk/gcc/testsuite/gcc.dg/misc-column.c
trunk/gcc/testsuite/gcc.dg/warn-addr-cmp.c
More information about the Gcc-cvs
mailing list