https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118598
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jeffrey A. Law from comment #2) > It looks like it shrink-wraps to me. The frame setup happens after the a == > 42 early exit. Where you expecting something else? There should be a shrink wrap around the second if too. Like it does on both aarch64 and x86_64. aarch64: ``` foo: .LFB0: .cfi_startproc cmp w0, 42 beq .L9 cmp w0, 0 ble .L9 ```