c-typeck.c
312 KB
-
re PR c/32207 (missing warnings about address of 'x'.) · 637f1455
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. From-SVN: r158765
Shujing Zhao committed