diff options
author | Tom de Vries <tdevries@suse.de> | 2020-09-24 13:30:11 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-09-24 13:40:15 +0200 |
commit | c4d283b142790063693be2d517f0209ce2f84499 (patch) | |
tree | 32cec7585a683b8ed4ab13c42469c6e019e07c05 /gcc/tree-ssa-loop-im.c | |
parent | a8d5c28233f95e3474ee8cbc4d341cbb43ab7bb6 (diff) | |
download | gcc-c4d283b142790063693be2d517f0209ce2f84499.zip gcc-c4d283b142790063693be2d517f0209ce2f84499.tar.gz gcc-c4d283b142790063693be2d517f0209ce2f84499.tar.bz2 |
[testsuite] Scan final instead of asm in independent-cloneids-1.c
When running test-case gcc.dg/independent-cloneids-1.c for nvptx, we get:
...
FAIL: scan-assembler-times (?n)^_*bar[.$_]constprop[.$_]0: 1
FAIL: scan-assembler-times (?n)^_*bar[.$_]constprop[.$_]1: 1
FAIL: scan-assembler-times (?n)^_*bar[.$_]constprop[.$_]2: 1
FAIL: scan-assembler-times (?n)^_*foo[.$_]constprop[.$_]0: 1
FAIL: scan-assembler-times (?n)^_*foo[.$_]constprop[.$_]1: 1
FAIL: scan-assembler-times (?n)^_*foo[.$_]constprop[.$_]2: 1
...
The test expects to find something like:
...
bar.constprop.0:
...
but instead on nvptx we have:
...
.func (.param.u32 %value_out) bar$constprop$0
...
Fix this by rewriting the scans to use the final dump instead.
Tested on x86_64.
gcc/testsuite/ChangeLog:
2020-09-24 Tom de Vries <tdevries@suse.de>
* gcc.dg/independent-cloneids-1.c: Use scan-rtl-dump instead of
scan-assembler.
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions