[Bug middle-end/91195] [10 regression] incorrect may be used uninitialized smw (272711, 273474]

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 22 07:11:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91195

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think the switch statement could be optimized better. There is a loop pass
which already handles if statements for the splitting one loop into two.  Maybe
it could do the same for switch statements.
Or the other thing that could be done here is change the switch statement into
an if statement because there is only one case and the default case.


More information about the Gcc-bugs mailing list