public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/112917] Most strub execution tests FAIL on SPARC
Date: Wed, 20 Dec 2023 08:19:49 +0000	[thread overview]
Message-ID: <bug-112917-4-2shBgjUdv9@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-112917-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aoliva@gcc.gnu.org>:

https://gcc.gnu.org/g:4e0a467302fea56d63b7a6d17f99c0f388960dc7

commit r14-6737-g4e0a467302fea56d63b7a6d17f99c0f388960dc7
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Dec 14 04:50:45 2023 -0300

    strub: sparc64: unbias the stack address [PR112917]

    The stack pointer is biased by 2047 bytes on sparc64, so the range it
    delimits is way off.  Unbias the addresses returned by
    __builtin_stack_address (), so that the strub builtins, inlined or
    not, can function correctly.  I've considered introducing a new target
    macro, but using STACK_POINTER_OFFSET seems safe, and it enables the
    register save areas to be scrubbed as well.

    Because of the large fixed-size outgoing args area next to the
    register save area on sparc, we still need __strub_leave to not
    allocate its own frame, otherwise it won't be able to clear part of
    the frame it should.


    for  gcc/ChangeLog

            PR middle-end/112917
            * builtins.cc (expand_bultin_stack_address): Add
            STACK_POINTER_OFFSET.
            * doc/extend.texi (__builtin_stack_address): Adjust.

  parent reply	other threads:[~2023-12-20  8:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-08 10:28 [Bug middle-end/112917] New: " ro at gcc dot gnu.org
2023-12-08 10:35 ` [Bug middle-end/112917] " ro at gcc dot gnu.org
2023-12-09  5:45 ` aoliva at gcc dot gnu.org
2023-12-13  5:59 ` aoliva at gcc dot gnu.org
2023-12-13  9:11 ` ro at CeBiTec dot Uni-Bielefeld.DE
2023-12-13 11:32 ` aoliva at gcc dot gnu.org
2023-12-20  8:19 ` cvs-commit at gcc dot gnu.org
2023-12-20  8:19 ` cvs-commit at gcc dot gnu.org [this message]
2023-12-21  3:49 ` aoliva at gcc dot gnu.org
2024-01-31  3:24 ` cvs-commit at gcc dot gnu.org

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-112917-4-2shBgjUdv9@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).