From: Eric Botcazou <botcazou@adacore.com>
To: gcc-patches@gcc.gnu.org
Subject: Re: [SPARC] Fix PR target/114416
Date: Thu, 25 Apr 2024 19:38:34 +0200 [thread overview]
Message-ID: <2264762.iZASKD2KPV@fomalhaut> (raw)
In-Reply-To: <2933447.e9J7NaK4W3@fomalhaut>
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
> For the 20th anniversary of https://gcc.gnu.org/gcc-3.4/sparc-abi.html, a
> new calling convention incompatibility with the vendor compiler (and the
> ABI) has been discovered in 64-bit mode, affecting small structures
> containing arrays of floating-point components. The decision has been made
> to fix it on Solaris only at this point.
Documented by the attached patch, validated with W3C's Validator and applied.
--
Eric Botcazou
[-- Attachment #2: p.diff --]
[-- Type: text/x-patch, Size: 973 bytes --]
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index f0f0efe0..83b1016c 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -136,7 +136,7 @@ a work-in-progress.</p>
int foo (int n)
{
int res = 0;
- for (int i = 0; i < n; i++)
+ for (int i = 0; i < n; i++)
{
y[i] = x[i] * 2;
res += x[i] + y[i];
@@ -1212,7 +1212,17 @@ __asm (".global __flmap_lock" "\n\t"
<!-- <h3 id="sh">SH</h3> -->
-<!-- <h3 id="sparc">SPARC</h3> -->
+<h3 id="sparc">SPARC</h3>
+
+<ul>
+ <li>
+ The implementation of calling conventions for small structures containing
+ arrays of floating-point components has been changed in 64-bit mode for
+ the Solaris port to match the implementation of the vendor compiler (and
+ the ABI). As a result, the code generated will not be binary compatible
+ with earlier releases in these cases.
+ </li>
+</ul>
<!-- <h3 id="Tile">Tile</h3> -->
prev parent reply other threads:[~2024-04-25 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-25 10:48 Eric Botcazou
2024-04-25 17:38 ` Eric Botcazou [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=2264762.iZASKD2KPV@fomalhaut \
--to=botcazou@adacore.com \
--cc=gcc-patches@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).