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: Thu, 27 Jul 2023 00:02:13 +0000	[thread overview]
Message-ID: <bug-88160-4-NfJq0SNLKe@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 #4 from Vincent Riviere <vincent.riviere at freesbee dot fr> ---
Created attachment 55647
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55647&action=edit
Workaround for compiling libgcc with -mcpu=5475 -mshort

Here is a patch for GCC 13.1.0. It allows libgcc to be compiled with -mcpu=5475
-mshort. As a workaround, it uses -fno-combine-stack-adjustments on the
impacted functions.

__attribute__((optimize("-fno-combine-stack-adjustments")))

Of course, it would be much better to fix the root of the issue.

  parent reply	other threads:[~2023-07-27  0:02 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
2023-07-27  0:02 ` vincent.riviere at freesbee dot fr [this message]
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-NfJq0SNLKe@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: link
Be 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).