diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-11-10 17:55:20 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-04-27 10:36:56 +0800 |
commit | f962f594e9006651379dafc9ef039be9654e6291 (patch) | |
tree | 4c29e222b6d4486d2f2d0c023bd1da3ef011ba3b /gcc | |
parent | de8648def762e3b54200dd3cd5c6fb480b228579 (diff) | |
download | gcc-f962f594e9006651379dafc9ef039be9654e6291.zip gcc-f962f594e9006651379dafc9ef039be9654e6291.tar.gz gcc-f962f594e9006651379dafc9ef039be9654e6291.tar.bz2 |
ssa-fre-4.c: Enable for all targets and adjust scan match
Since the C frontend no longer promotes char argument, enable ssa-fre-4.c
for all targets and adjust scan match.
PR middle-end/112877
* gcc.dg/tree-ssa/ssa-fre-4.c: Enable for all targets and adjust
scan match.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c index 5a7588f..246fea3 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c @@ -1,6 +1,4 @@ -/* If the target returns false for TARGET_PROMOTE_PROTOTYPES, then there - will be no casts for FRE to eliminate and the test will fail. */ -/* { dg-do compile { target i?86-*-* x86_64-*-* hppa*-*-* m68k*-*-* } } */ +/* { dg-do compile } */ /* { dg-options "-O -fno-tree-ccp -fno-tree-forwprop -fdump-tree-fre1-details" } */ /* From PR21608. */ @@ -11,4 +9,4 @@ char bar(char f) return wrap(f); } -/* { dg-final { scan-tree-dump "Replaced \\\(char\\\) .*with " "fre1" } } */ +/* { dg-final { scan-tree-dump-not " = \\\(\[^)\]*\\\)" "fre1" } } */ |