public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vincent.riviere at freesbee dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88160] Error: register save offset not a multiple of 4 only with optimize Date: Wed, 26 Jul 2023 23:50:18 +0000 [thread overview] Message-ID: <bug-88160-4-2FwSPKAcT4@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-88160-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88160 --- Comment #3 from Vincent Riviere <vincent.riviere at freesbee dot fr> --- There are 2 lightweight workarounds for the OP testcase: -fno-combine-stack-adjustments -fno-omit-frame-pointer $ m68k-elf-gcc -mshort -mcpu=5475 -g -O2 -c test.c /tmp/ccW6hc6h.s: Assembler messages: /tmp/ccW6hc6h.s:20: Error: register save offset not a multiple of 4 /tmp/ccW6hc6h.s:21: Error: register save offset not a multiple of 4 /tmp/ccW6hc6h.s:22: Error: register save offset not a multiple of 4 $ m68k-elf-gcc -mshort -mcpu=5475 -g -O2 -c test.c -fno-combine-stack-adjustments # OK $ m68k-elf-gcc -mshort -mcpu=5475 -g -O2 -c test.c -fno-omit-frame-pointer # OK
next prev parent reply other threads:[~2023-07-26 23:50 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-88160-4@http.gcc.gnu.org/bugzilla/> 2023-07-26 5:17 ` vincent.riviere at freesbee dot fr 2023-07-26 23:50 ` vincent.riviere at freesbee dot fr [this message] 2023-07-27 0:02 ` vincent.riviere at freesbee dot fr 2023-08-14 10:45 ` admin@tho-otto.de
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-88160-4-2FwSPKAcT4@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).