diff mbox series

Fix -Wreturn-type fallout in c-c++-common/torture/aarch64-vect-lane-2.c

Message ID mvmbmkcri0u.fsf@suse.de
State New
Headers show
Series Fix -Wreturn-type fallout in c-c++-common/torture/aarch64-vect-lane-2.c | expand

Commit Message

Andreas Schwab Nov. 8, 2017, 1:56 p.m. UTC
Installed as obvious.

Andreas.

	* c-c++-common/torture/aarch64-vect-lane-2.c (search_line_fast):
	Change type to void.

---
 gcc/testsuite/c-c++-common/torture/aarch64-vect-lane-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/c-c++-common/torture/aarch64-vect-lane-2.c b/gcc/testsuite/c-c++-common/torture/aarch64-vect-lane-2.c
index 745c434b06..a2d9e45c21 100644
--- a/gcc/testsuite/c-c++-common/torture/aarch64-vect-lane-2.c
+++ b/gcc/testsuite/c-c++-common/torture/aarch64-vect-lane-2.c
@@ -1,6 +1,6 @@ 
 // { dg-do compile { target "aarch64*-*-*" } }
 // { dg-xfail-if "" { *-*-* } { "-flto -fuse-linker-plugin" } { "" } }
-int
+void
 search_line_fast (void)
 {
   __builtin_aarch64_im_lane_boundsi (4, 0, 0); /* { dg-error "" } */