[Bug c/89909] false positive for for -Wunreachable-code.

2019-04-01 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89909

Pawel Sikora  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Pawel Sikora  ---
(In reply to Andrew Pinski from comment #1)
> I think the warning is correct, the first if (0) will never be executed.

ack, i've missed the line number.

[Bug c/89909] false positive for for -Wunreachable-code.

2019-04-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89909

--- Comment #1 from Andrew Pinski  ---
I think the warning is correct, the first if (0) will never be executed.