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

--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 26 Jan 2021, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98834
> 
> --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Started with r10-3106-g46dfa8ad6c18feb45d35734eae38798edb7c38cd
> Anyway, I wonder if this isn't similar to the cases where the inliner
> optimistically assumed that __builtin_constant_p will fold to true but didn't
> actually fold it that way, and then later on that didn't happen?

Yes, which is why I made it IPA and CCed Martin ...

IMHO the __builtin_unreachable () introduced is bogus.

Reply via email to