public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c.
@ 2017-03-01 12:37 Toma Tabacu
  2017-03-06 10:31 ` Matthew Fortune
  0 siblings, 1 reply; 3+ messages in thread
From: Toma Tabacu @ 2017-03-01 12:37 UTC (permalink / raw)
  To: gcc-patches; +Cc: catherine_moore, Matthew Fortune

Hi,

inline-memcpy-3.c fails when using -mabi=n64 and -mabi=n32 as a test-run option
because it does not impose a specific ABI in its test options.

As there already are variants of this test which force a specific ABI (N64 in
inline-memcpy-4.c and N32 in inline-memcpy-5.c), inline-memcpy-3.c should also
do so with the O32 ABI.

This patch forces the O32 ABI for this test by adding "-mabi=32" to the test
options.

Regards,
Toma

gcc/testsuite/

	* gcc.target/mips/inline-memcpy-3.c (dg-options): Add -mabi=32.

diff --git a/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c b/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c
index 3bdb28b..a449107 100644
--- a/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c
+++ b/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c
@@ -1,4 +1,4 @@
-/* { dg-options "-fno-common isa_rev<=5 (REQUIRES_STDLIB)" } */
+/* { dg-options "-fno-common isa_rev<=5 -mabi=32 (REQUIRES_STDLIB)" } */
 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-Os"} { "" } } */
 /* { dg-final { scan-assembler-not "\tmemcpy" } } */
 /* { dg-final { scan-assembler-times "swl" 8 } } */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c.
  2017-03-01 12:37 [PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c Toma Tabacu
@ 2017-03-06 10:31 ` Matthew Fortune
  2017-03-06 11:31   ` Toma Tabacu
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Fortune @ 2017-03-06 10:31 UTC (permalink / raw)
  To: Toma Tabacu, gcc-patches; +Cc: catherine_moore

Toma Tabacu <Toma.Tabacu@imgtec.com> writes:
> gcc/testsuite/
> 
> 	* gcc.target/mips/inline-memcpy-3.c (dg-options): Add -mabi=32.

OK, thanks. Sorry for the slow reply.

Matthew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c.
  2017-03-06 10:31 ` Matthew Fortune
@ 2017-03-06 11:31   ` Toma Tabacu
  0 siblings, 0 replies; 3+ messages in thread
From: Toma Tabacu @ 2017-03-06 11:31 UTC (permalink / raw)
  To: Matthew Fortune, gcc-patches; +Cc: catherine_moore

> From: Matthew Fortune
> 
> Toma Tabacu writes:
> > gcc/testsuite/
> >
> > 	* gcc.target/mips/inline-memcpy-3.c (dg-options): Add -mabi=32.
> 
> OK, thanks. Sorry for the slow reply.
> 
> Matthew

Committed as r245914.

Thanks,
Toma

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-06 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01 12:37 [PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c Toma Tabacu
2017-03-06 10:31 ` Matthew Fortune
2017-03-06 11:31   ` Toma Tabacu

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).