From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d])
by sourceware.org (Postfix) with ESMTPS id 0F9863858D38
for ; Thu, 25 Apr 2024 17:38:37 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F9863858D38
Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0F9863858D38
Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::42d
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714066719; cv=none;
b=uxIsCLlpNwxMMI+cAwnV/SQPeV0D1rekchc7big9ugnb6aKS4DvekdjR6ObnDgdUsAP/M8O2XgxpQ8TSi3kwBkNBjpXEZSWkz65QJ9iEljFui1pWMosYVpD7lHO8DV0y0Hh2bhoEuM4Z4Ywnsl/6PvUMUagYQc5hGdUj/8rGCSg=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1714066719; c=relaxed/simple;
bh=4rRKIicaoT7zENxtVue0iIgRx6MtdOuEbWWGekAMyfY=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=AYm79411+6vVHc8nnQrgQ5vBzK6TVh8MiMEKUSFIMv+nP2/4UublCe4sfExLFmiEeHYwcTD/zgAFw/7PaQi/Qehx+uGNqNJqWA2L6F0xArzkNWnAQtfcL3LJ8ANI0Bk8LXK5lqcXzgf94tKej/nTNYAojC9DvGOJ2YLUv4cv9ac=
ARC-Authentication-Results: i=1; server2.sourceware.org
Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-343d7ff2350so967587f8f.0
for ; Thu, 25 Apr 2024 10:38:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=adacore.com; s=google; t=1714066716; x=1714671516; darn=gcc.gnu.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:to:from:from:to:cc:subject:date:message-id
:reply-to;
bh=bwURJrA17g/YWIC2+/jKKN2X60E7SlClOFgAbu+345M=;
b=kBmdw3+FgozH57lcb4fI0sGDQ98kvm80LFWIQvLOUR+yB4VxkIAhJAW6ame+zaMKLl
nsKoZfkVl4PhdsHSPfy9g4kFyrlcEbY/uxAObsvXf+q9IhpkAyQscSSUcS8VEyECwT8m
goGXiyWmCb7qmRQxwl/Ru61RHefBLecwldbRBgCbXgvt/DcpPlOSTXXa5kt2GKPHaekZ
stin2QWMvTvhAwjXBaYIg/O7eELnB1BntE0vnOFFRRcK+YPEOEggzy1s6yJztiffjOyG
I3ZQxkhWxufEhzXrY5PcuYGnpa5B2jM9/rByVB63TVB+CAAjjBWHzJSvN8ORPtAAa/UH
sE/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1714066716; x=1714671516;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:to:from:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=bwURJrA17g/YWIC2+/jKKN2X60E7SlClOFgAbu+345M=;
b=KV/vrXYcPpyz7NM5FFO6s8bYd4ggd1zp/VozwE8tXtxfkk/dF0zosBmQo9lfI9AU/E
5Pmzx5TeavKvgn17LAFN/4zrD/H83mpRCckbsb95e6vk0SMMoQsrAVzZSUhZoX7/EF/h
/10RNasmTkBbaTlXVu+P5JnbpuLpu3B/ES7CE0BGJcYiXVgG+MAr5RDAIuAB7w/WqBzI
09gt9WgpYMyf+1LjD2FrxJ2uADjShJN8P2h9fSxVLBd35XqJ3Do/gqRrIxLFlcLp7VUJ
soCCODPFdJYqshhTk6TYLDfaA4dSOGkf4b5Kb5BKi/LrmJ7TlPNoCnSpbWnkAwzX/0aO
kV4Q==
X-Gm-Message-State: AOJu0YwzUdwybH2Cbaeo07LpJjszuMm16LlOKYjqmMDph8fLFNAqeZW5
gYa+IfMyglfQnXwWnx8TnUI9nv/Gu/GdO7bXxXuJxqure5i7apxWqz4M1qd1ZJ+vJ4l3zY770J8
=
X-Google-Smtp-Source: AGHT+IEDkhRN+OT/xSWth3ihWxSk5f9BW7ap26hJ5ghAboY4xA2UbpWhq08rIBZLTeaOCr/ODkvDdA==
X-Received: by 2002:adf:ee89:0:b0:343:75eb:bb79 with SMTP id b9-20020adfee89000000b0034375ebbb79mr129277wro.49.1714066715702;
Thu, 25 Apr 2024 10:38:35 -0700 (PDT)
Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6])
by smtp.gmail.com with ESMTPSA id t4-20020a5d4604000000b00343826878e8sm20374729wrq.38.2024.04.25.10.38.35
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 25 Apr 2024 10:38:35 -0700 (PDT)
From: Eric Botcazou
X-Google-Original-From: Eric Botcazou
To: gcc-patches@gcc.gnu.org
Subject: Re: [SPARC] Fix PR target/114416
Date: Thu, 25 Apr 2024 19:38:34 +0200
Message-ID: <2264762.iZASKD2KPV@fomalhaut>
In-Reply-To: <2933447.e9J7NaK4W3@fomalhaut>
References: <2933447.e9J7NaK4W3@fomalhaut>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="nextPart1964635.PYKUYFuaPT"
Content-Transfer-Encoding: 7Bit
X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_NUMSUBJECT,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org
List-Id:
This is a multi-part message in MIME format.
--nextPart1964635.PYKUYFuaPT
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
> 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
--nextPart1964635.PYKUYFuaPT
Content-Disposition: attachment; filename="p.diff"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="unicode-2-0-utf-8"; name="p.diff"
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.
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"
-
+SPARC
+
+
+ -
+ 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.
+
+
--nextPart1964635.PYKUYFuaPT--