public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] testsuite: Fix coding style.
@ 2020-08-22 23:07 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 23:07 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:41f7d2f5cb60aa4d61373dcaec22ff2895a11dba
commit 41f7d2f5cb60aa4d61373dcaec22ff2895a11dba
Author: Martin Liska <mliska@suse.cz>
Date: Mon Jun 29 14:24:33 2020 +0200
testsuite: Fix coding style.
2020-06-29 Martin Liska <mliska@suse.cz>
PR c++/86568
* c-c++-common/builtin-arith-overflow-1.c (generic_3, typed_3_null):
Fix coding style.
Diff:
---
gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c b/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c
index ba52b448a09..25c792ee2e2 100644
--- a/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c
+++ b/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c
@@ -43,10 +43,10 @@ generic_2 (int a, int b)
int x = __builtin_add_overflow (a, b);/* { dg-error "too few arguments to function" } */
x += __builtin_sub_overflow (a, b); /* { dg-error "too few arguments to function" } */
x += __builtin_mul_overflow (a, b); /* { dg-error "too few arguments to function" } */
- x += __builtin_add_overflow (a, 1); /* { dg-error "too few arguments to function" } */
+ x += __builtin_add_overflow (a, 1); /* { dg-error "too few arguments to function" } */
x += __builtin_sub_overflow (a, 2); /* { dg-error "too few arguments to function" } */
x += __builtin_mul_overflow (a, 3); /* { dg-error "too few arguments to function" } */
- x += __builtin_add_overflow (4, b); /* { dg-error "too few arguments to function" } */
+ x += __builtin_add_overflow (4, b); /* { dg-error "too few arguments to function" } */
x += __builtin_sub_overflow (5, b); /* { dg-error "too few arguments to function" } */
x += __builtin_mul_overflow (6, b); /* { dg-error "too few arguments to function" } */
return x;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 23:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 23:07 [gcc/devel/autopar_devel] testsuite: Fix coding style Giuliano Belinassi
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).