------- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-06 09:18 ------- > > ------- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-06 09:09 > > ------- > > 4.5 also fails
Fails in that it warns still. The first example warns with 4.5, while adding an extra variable and doing a cast to void* causes GCC not to warn. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41874