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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-08-08
      Known to work|                            |4.8.0, 4.8.5
            Summary|-fsplit-stack               |-fsplit-stack - code
                   |-fstack-protector-all -     |crashes when passing large
                   |code crashes when passing   |struct via stack
                   |large struct via stack      |
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
      Known to fail|                            |4.9.0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fsplit-stack is enough.  It worked in GCC 4.7.x and 4.8.x but broke again in
4.9.0.

The one where it worked main had (clang also has this):
        leaq    -32776(%rsp), %r11
        cmpq    %fs:112, %r11
        jae     .L6

The one where it fails has:

        leaq    -16392(%rsp), %r11
        cmpq    %fs:112, %r11

Reply via email to