public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4846] gcc.c-torture/execute/builtins/pr93262-chk.c: Remove return statement
@ 2023-10-23  7:23 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2023-10-23  7:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0e29c6f65523dad20068ba69cd03d8f6f82cab41

commit r14-4846-g0e29c6f65523dad20068ba69cd03d8f6f82cab41
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Oct 23 09:23:05 2023 +0200

    gcc.c-torture/execute/builtins/pr93262-chk.c: Remove return statement
    
    The main_test function returns void, so return with an expression
    is a constraint violation.  The test case still fails with this
    change applied before the fix for PR 93262 in r14-4813.
    
    gcc/testsuite/
    
            * gcc.c-torture/execute/builtins/pr93262-chk.c (main_test):
            Remove unnecessary return statement.

Diff:
---
 gcc/testsuite/gcc.c-torture/execute/builtins/pr93262-chk.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/pr93262-chk.c b/gcc/testsuite/gcc.c-torture/execute/builtins/pr93262-chk.c
index 66d86b44b58a..e55868623e9e 100644
--- a/gcc/testsuite/gcc.c-torture/execute/builtins/pr93262-chk.c
+++ b/gcc/testsuite/gcc.c-torture/execute/builtins/pr93262-chk.c
@@ -51,5 +51,4 @@ main_test (void)
     }
   if (chk_calls != 2)
     abort ();
-  return 0;
 }

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

only message in thread, other threads:[~2023-10-23  7:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23  7:23 [gcc r14-4846] gcc.c-torture/execute/builtins/pr93262-chk.c: Remove return statement Florian Weimer

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