[Bug c/64639] false negative of -Wunused-value

2015-01-20 Thread maltsevm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64639 Mikhail Maltsev changed: What|Removed |Added CC||maltsevm at gmail dot com --- Comment

[Bug c/64639] false negative of -Wunused-value

2015-01-18 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64639 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/64639] false negative of -Wunused-value

2015-01-17 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64639 --- Comment #3 from Chengnian Sun --- (In reply to Chengnian Sun from comment #2) > (In reply to Andrew Pinski from comment #1) > > "(a = 0) != 0" has a side effect of setting a to 0. > > > > I think in this case, clang is incorrectly warning ab

[Bug c/64639] false negative of -Wunused-value

2015-01-17 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64639 Chengnian Sun changed: What|Removed |Added CC||chengniansun at gmail dot com --- Commen

[Bug c/64639] false negative of -Wunused-value

2015-01-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64639 --- Comment #1 from Andrew Pinski --- "(a = 0) != 0" has a side effect of setting a to 0. I think in this case, clang is incorrectly warning about it.