]> gcc.gnu.org Git - gcc.git/commitdiff
[PATCH] ARC: Update gcc.target/arc/pr9001184797.c test
authorLuis Silva <Luis.Silva1@synopsys.com>
Wed, 3 Jul 2024 15:41:05 +0000 (09:41 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 3 Jul 2024 15:41:05 +0000 (09:41 -0600)
... to comply with new standards due to stricter analysis in
the latest GCC versions.

gcc/testsuite/ChangeLog:

* gcc.target/arc/pr9001184797.c: Fix compiler warnings.

gcc/testsuite/gcc.target/arc/pr9001184797.c

index e76c6769042f4089473be3a55b96d0ea38ccacc5..6c5de5fe7295defcb3fe15dda0b81ef4cea1c830 100644 (file)
@@ -4,13 +4,15 @@
 
 /* This test studies the use of anchors and tls symbols. */
 
+extern int h();
+
 struct a b;
 struct a {
   long c;
   long d
 } e() {
   static __thread struct a f;
-  static __thread g;
+  static __thread int g;
   g = 5;
   h();
   if (f.c)
This page took 0.062521 seconds and 5 git commands to generate.