The compiler seems to be ignoring casts from 'id<Protocol>' to 'id', and from 'id<Protocol1>' to 'id<Protocol2>'. It's a regression: previous compilers (eg 2.95 and 2.91.66) did the cast properly. Release: GCC 3.3 (also reported in 3.2) How-To-Repeat: Compile the attached testcase - no warnings should be generated. Under 3.3 (and, I was told, under 3.2) spurious warnings are generated instead because the compiler seems to be ignoring the casts
State-Changed-From-To: open->closed State-Changed-Why: Fixed on GCC 3.3 CVS