public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/46119] -fsplit-stack - code crashes when passing large struct via stack Date: Sun, 08 Aug 2021 22:12:07 +0000 [thread overview] Message-ID: <bug-46119-4-KqdpdCxYkd@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-46119-4@http.gcc.gnu.org/bugzilla/> 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
prev parent reply other threads:[~2021-08-08 22:12 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-10-21 16:04 [Bug middle-end/46119] New: -fsplit-stack -fstack-protector-all " zsojka at seznam dot cz 2012-02-02 17:27 ` [Bug middle-end/46119] " pinskia at gcc dot gnu.org 2021-08-08 22:12 ` pinskia at gcc dot gnu.org [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-46119-4-KqdpdCxYkd@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).