projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9264b9
)
testsuite: Fix up nontype-subob1.C for targets with short int, int or long long ssize_t
author
Jakub Jelinek
<jakub@redhat.com>
Tue, 28 Jul 2020 09:32:36 +0000
(11:32 +0200)
committer
Jakub Jelinek
<jakub@redhat.com>
Tue, 28 Jul 2020 09:32:36 +0000
(11:32 +0200)
2020-07-28 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp2a/nontype-subob1.C: Allow s1, i1 or x1 instead of l1 for
targets with short, int or long long ssize_t.
gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
b/gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
index 4c1633e22a04d73e6d91343c6a7f4bd9fcf2f0af..9e5e888114e5f22a5e69ec6577495816a3a5540d 100644
(file)
--- a/
gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
+++ b/
gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
@@
-18,7
+18,7
@@
struct B: C
void f(A<&b.i>) {}
TEQ(&b.i,&((C*)&b)->i);
-// { dg-final { scan-assembler
_Z1g1AIXadixdtL_Z1bE1jLl1EEE
} }
+// { dg-final { scan-assembler
"_Z1g1AIXadixdtL_Z1bE1jL\[silx]1EEE"
} }
void g(A<&b.j[0]+1>) {}
TEQ(&b.j[1],&b.j[1]);
TEQ(&b.j[1],&b.j[0]+1);