public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-3690] AArch64: Fix testcase
@ 2022-11-04 17:09 Wilco Dijkstra
  0 siblings, 0 replies; only message in thread
From: Wilco Dijkstra @ 2022-11-04 17:09 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:26d2db895b05388fa215c43ee97a0aed3d45f3f8

commit r13-3690-g26d2db895b05388fa215c43ee97a0aed3d45f3f8
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date:   Thu Oct 27 16:40:17 2022 +0100

    AArch64: Fix testcase
    
    gcc/testsuite/
            * gcc.target/aarch64/mgeneral-regs_3.c: Fix testcase.

Diff:
---
 gcc/testsuite/gcc.target/aarch64/mgeneral-regs_3.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_3.c b/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_3.c
index fa6299960e7..4e634f6ebe2 100644
--- a/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_3.c
+++ b/gcc/testsuite/gcc.target/aarch64/mgeneral-regs_3.c
@@ -3,9 +3,9 @@
 extern void abort (void);
 
 int
-test (int i, ...)
+test (int i, ...) /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
 {
-  float f = (float) i; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
-  if (f != f) abort ();
+  float f = (float) i;
+  if (f != 0) abort ();
   return 2;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-04 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 17:09 [gcc r13-3690] AArch64: Fix testcase Wilco Dijkstra

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