[Bug c/53277] -Wconversion cannot handle compound expressions

2023-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 Andrew Pinski changed: What|Removed |Added CC||roland.illig at gmx dot de --- Comment #

[Bug c/53277] -Wconversion cannot handle compound expressions

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 --- Comment #20 from Andrew Pinski --- (In reply to Tomasz Konojacki from comment #18) > Sorry, it still warns in C mode, but it doesn't in C++. Yes it does, but only the second one of: char x = ((void) i, 0); x = i ? x : ((void) i, 0); The

[Bug c/53277] -Wconversion cannot handle compound expressions

2021-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 --- Comment #19 from Jonathan Wakely --- For C++ the comment 15 case seems to have been fixed by r10-6527: c++: Use constexpr to avoid wrong -Wsign-compare (PR90691). We would like to do constexpr evaluation to avoid false positives on

[Bug c/53277] -Wconversion cannot handle compound expressions

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 --- Comment #18 from Tomasz Konojacki --- Sorry, it still warns in C mode, but it doesn't in C++.

[Bug c/53277] -Wconversion cannot handle compound expressions

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #17 fro

[Bug c/53277] -Wconversion cannot handle compound expressions

2018-02-21 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 Manuel López-Ibáñez changed: What|Removed |Added CC||chengniansun at gmail dot com ---