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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldyh at gcc dot gnu.org

--- Comment #7 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #6)
> Reduded testcase that fails at -O1 (but passes at -O2):
> ```
> 
> [[gnu::noipa]]
> static void g(char pad1) {
>     if (pad1 != '0' && pad1 != '+' && pad1 != '_')
>       __builtin_unreachable();
>     if (pad1 == '0' || pad1 == '+')
>         __builtin_trap();
> }
> char buf[4000];
> int main(void) { g('_'); }
> 
> ```
> 

Bisect for this testcase with releases/gcc-12 vs releases/gcc-13 gives
r13-2876-g2460f7cdef7ef9.

I will do the trunk one from Paul next.

Reply via email to