From: Richard Earnshaw <Richard.Earnshaw@foss.arm.com>
To: "Torbjörn SVENSSON" <torbjorn.svensson@foss.st.com>,
gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] [testsuite][arm] Fix cmse-15.c expected output
Date: Mon, 3 Oct 2022 15:36:54 +0100 [thread overview]
Message-ID: <e28dba1d-6ea9-4f79-0663-fca58054a24c@foss.arm.com> (raw)
In-Reply-To: <20220923084330.4131742-1-torbjorn.svensson@foss.st.com>
On 23/09/2022 09:43, Torbjörn SVENSSON via Gcc-patches wrote:
> The cmse-15.c testcase fails at -Os because ICF means that we
> generate
> secure3:
> b secure1
>
> which is OK, but does not match the currently expected
> secure3:
> ...
> bx r[0-3]
>
> gcc/testsuite/ChangeLog:
>
> * gcc.target/arm/cmse/cmse-15.c: Align with -Os improvements.
OK.
R.
>
> Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com>
> Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
> ---
> gcc/testsuite/gcc.target/arm/cmse/cmse-15.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c b/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c
> index b0fefe561a1..5188f1d697f 100644
> --- a/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c
> +++ b/gcc/testsuite/gcc.target/arm/cmse/cmse-15.c
> @@ -144,6 +144,8 @@ int secure2 (s_bar_ptr s_bar_p)
> ** bx r[0-3]
> ** |
> ** blx r[0-3]
> +** |
> +** b secure1
> ** )
> ** ...
> */
prev parent reply other threads:[~2022-10-03 14:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-23 8:43 Torbjörn SVENSSON
2022-09-29 14:30 ` Christophe Lyon
2022-10-03 14:36 ` Richard Earnshaw [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=e28dba1d-6ea9-4f79-0663-fca58054a24c@foss.arm.com \
--to=richard.earnshaw@foss.arm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=torbjorn.svensson@foss.st.com \
/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).