]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR objc/27377 (false compiler warnings generated in Objective-C code)
authorDavid Ayers <ayers@gcc.gnu.org>
Sun, 29 Mar 2009 08:09:44 +0000 (08:09 +0000)
committerDavid Ayers <ayers@gcc.gnu.org>
Sun, 29 Mar 2009 08:09:44 +0000 (08:09 +0000)
commit4ea80a418fb9c977a460b803842c3ba744813a11
treec86f1d38fc26655b1b4f52d8b894e2fde5d59f3a
parentf988ec96d922819a4948c1ed96c6dc1b79a7ad22
re PR objc/27377 (false compiler warnings generated in Objective-C code)

gcc/
2009-03-00  David Ayers  <ayers@fsfe.org>

PR objc/27377
* c-typeck.c (build_conditional_expr): Emit ObjC warnings
by calling objc_compare_types and surpress warnings about
incompatible C pointers that are compatible ObjC pointers.

testsuite/
2009-03-00  David Ayers  <ayers@fsfe.org>

PR objc/27377
* objc.dg/conditional-1.m: New tests.

From-SVN: r145225
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/conditional-1.m [new file with mode: 0644]