[Bug c/60018] Bogus conversion warning with optimization flag -O1

2018-02-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60018 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/60018] Bogus conversion warning with optimization flag -O1

2018-02-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60018 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c/60018] Bogus conversion warning with optimization flag -O1

2014-03-28 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60018 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||manu at gcc

[Bug c/60018] Bogus conversion warning with optimization flag -O1

2014-02-03 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60018 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/60018] Bogus conversion warning with optimization flag -O1

2014-02-03 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60018 --- Comment #2 from Marek Polacek mpolacek at gcc dot gnu.org --- The issue is that at -O0 conversion_warning gets (fn3(), 0) || 0 and doesn't call unsafe_conversion_p on it, while on -O fold_binary folds away the || 0 part and conversion_warning