Remove duplicate test

Andreas Schwab schwab@linux-m68k.org
Sat Aug 4 16:50:00 GMT 2018


The test for type:cvip was being run twice.  Committed as obvious.

Andreas.

	* gcc.dg/guality/const-volatile.c: Remove duplicate test
	"type:cvip".

diff --git a/gcc/testsuite/gcc.dg/guality/const-volatile.c b/gcc/testsuite/gcc.dg/guality/const-volatile.c
index 3bfca0d14d..21f84b5c20 100644
--- a/gcc/testsuite/gcc.dg/guality/const-volatile.c
+++ b/gcc/testsuite/gcc.dg/guality/const-volatile.c
@@ -80,8 +80,6 @@ main (int argc, char **argv)
 
 /* { dg-final { gdb-test "@main" "type:vs" "volatile struct { const long cli; const signed char csc; }" } } */
 
-/* { dg-final { gdb-test "@main" "type:cvip" "int * const volatile" } } */
-
 /* { dg-final { gdb-test "@main" "type:bar" "struct bar { short s; const short cs; volatile short vs; const volatile short cvs; volatile long long vll; }" } } */
 /* { dg-final { gdb-test "@main" "type:foo" "struct foo { const long cli; const signed char csc; }" } } */
 /* { dg-final { gdb-test "@main" "type:cfoo" "const struct foo { const long cli; const signed char csc; }" } } */
-- 
2.18.0


-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the Gcc-patches mailing list