https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129112
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |yansendao at 126 dot com
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=128102
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-11-28
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
I think this was exposed by r17-6332-gc9609467230d5d690be1bde0d00fa3b8e2652a3d
.
That is keeping the switch later, for some reason we are not able to remove the
unreachable case, And more over it looks like IPA cgraph thinks d is not
reachable and not kept around; and it is not inlined either even though it is a
single statement. I have not looked into that part though.