[gcc r11-5164] Fix gcc.dg/pr97897.c

Richard Biener rguenth@gcc.gnu.org
Thu Nov 19 12:28:13 GMT 2020


https://gcc.gnu.org/g:717e22dcd48e6299b22a32b728c1d2cad08eb918

commit r11-5164-g717e22dcd48e6299b22a32b728c1d2cad08eb918
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Nov 19 13:26:16 2020 +0100

    Fix gcc.dg/pr97897.c
    
    This adds dg-options "" to avoid the pedantic error on _Complex int.
    
    2020-11-19  Richard Biener  <rguenther@suse.de>
    
            * gcc.dg/pr97897.c: Add dg-options.

Diff:
---
 gcc/testsuite/gcc.dg/pr97897.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/pr97897.c b/gcc/testsuite/gcc.dg/pr97897.c
index 775f34ca767..084c1cdbfeb 100644
--- a/gcc/testsuite/gcc.dg/pr97897.c
+++ b/gcc/testsuite/gcc.dg/pr97897.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-options "" } */
 
 void h ();
 void f () __attribute__ ((returns_twice));


More information about the Gcc-cvs mailing list