public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7907] gcc.dg/weak/typeof-2: arm may use constant pool
@ 2022-03-30 1:47 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2022-03-30 1:47 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a5a8d512782cf4765cf17fc79dd7ecc2a392e0a9
commit r12-7907-ga5a8d512782cf4765cf17fc79dd7ecc2a392e0a9
Author: Alexandre Oliva <oliva@adacore.com>
Date: Tue Mar 29 22:47:18 2022 -0300
gcc.dg/weak/typeof-2: arm may use constant pool
Some ARM configurations, such as with -mlong-calls, load the call
target from the constant pool, breaking the expectation of the test as
on several other targets.
for gcc/testsuite/ChangeLog
* gcc.dg/weak/typeof-2.c: Add arm*-*-* to targets that may
place the call target in a constant pool.
Diff:
---
gcc/testsuite/gcc.dg/weak/typeof-2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/testsuite/gcc.dg/weak/typeof-2.c b/gcc/testsuite/gcc.dg/weak/typeof-2.c
index afce17f53cb..c6e45624810 100644
--- a/gcc/testsuite/gcc.dg/weak/typeof-2.c
+++ b/gcc/testsuite/gcc.dg/weak/typeof-2.c
@@ -40,6 +40,8 @@ int bar3 (int x)
// { dg-final { if [string match {sh[elb1-9]*-*-*} $target_triplet ] {return} } }
// Likewise for S/390 targets
// { dg-final { if [string match s390*-*-* $target_triplet ] {return} } }
+// Likewise for ARM targets
+// { dg-final { if [string match arm*-*-* $target_triplet ] {return} } }
// Likewise for CRIS targets.
// { dg-final { if [string match cris-*-* $target_triplet ] {return} } }
// Likewise for m68k targets.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-30 1:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 1:47 [gcc r12-7907] gcc.dg/weak/typeof-2: arm may use constant pool Alexandre Oliva
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).