[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#423407: gcc-snapshot: invalid warning in -O2



* Pierre Habouzit <madcoder@debian.org> [2007-05-11 16:34]:
> does not work:
>   /usr/lib/gcc-snapshot/bin/gcc -O2 -o a.o a.c
>   a.c: In function 'main':
>   a.c:12: warning: passing argument 1 of 'bar' discards qualifiers from pointer target type

This bogus warning is the same bug as #403596
-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: