[Bug c++/93652] -Wconversion gives false warning with bitwise operations on reference types returned from function

2021-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93652

--- Comment #3 from Jonathan Wakely  ---
Fixed by r10-7344:
c++: Handle COMPOUND_EXPRs in get_narrower and
warnings_for_convert_and_check [PR91993]

[Bug c++/93652] -Wconversion gives false warning with bitwise operations on reference types returned from function

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93652

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
   Target Milestone|--- |10.0
 Resolution|--- |FIXED

--- Comment #2 from Andrew Pinski  ---
Fixed.

[Bug c++/93652] -Wconversion gives false warning with bitwise operations on reference types returned from function

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93652

Tomasz Konojacki  changed:

   What|Removed |Added

 CC||me at xenu dot pl

--- Comment #1 from Tomasz Konojacki  ---
This was fixed in gcc 10, I think it can be closed.