[Bug c/49863] -Wunused-result not behaving correctly

2012-05-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49863 --- Comment #4 from Andrew Pinski 2012-05-23 17:20:52 UTC --- (In reply to comment #3) > If I declare > -D_FORTIFY_SOURCE=2 on the command line, the headers should not override me > just because it is not an optimized build. Is there some other

[Bug c/49863] -Wunused-result not behaving correctly

2012-05-23 Thread jim.king at simplivity dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49863 James E. King, III changed: What|Removed |Added CC||jim.king at simplivity dot

[Bug c/49863] -Wunused-result not behaving correctly

2011-07-27 Thread antomicx at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49863 --- Comment #2 from antomicx at gmail dot com 2011-07-27 10:29:46 UTC --- (In reply to comment #1) > Because glibc annotates system with the attribute only if you use > -D_FORTIFY_SOURCE=1 or higher, and then only if optimization is enabled: I got

[Bug c/49863] -Wunused-result not behaving correctly

2011-07-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49863 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|