diff options
author | Luis Silva <Luis.Silva1@synopsys.com> | 2024-07-03 09:41:05 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-07-03 09:41:05 -0600 |
commit | c41eb4c702ed04993a475d5910c190af1ff66720 (patch) | |
tree | 7a4d6a1975df6db77b0adbd609027fbd373238dc | |
parent | de9254e224eb3d89303cb9b3ba50b4c479c55f7c (diff) | |
download | gcc-c41eb4c702ed04993a475d5910c190af1ff66720.zip gcc-c41eb4c702ed04993a475d5910c190af1ff66720.tar.gz gcc-c41eb4c702ed04993a475d5910c190af1ff66720.tar.bz2 |
[PATCH] ARC: Update gcc.target/arc/pr9001184797.c test
... 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.
-rw-r--r-- | gcc/testsuite/gcc.target/arc/pr9001184797.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arc/pr9001184797.c b/gcc/testsuite/gcc.target/arc/pr9001184797.c index e76c676..6c5de5f 100644 --- a/gcc/testsuite/gcc.target/arc/pr9001184797.c +++ b/gcc/testsuite/gcc.target/arc/pr9001184797.c @@ -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) |