projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db9ce1
)
Revert "testsuite: Change pr80334.C testcase to dg-do compile [PR102772]"
author
Jakub Jelinek
<jakub@redhat.com>
Wed, 30 Mar 2022 14:47:10 +0000
(16:47 +0200)
committer
Jakub Jelinek
<jakub@redhat.com>
Wed, 30 Mar 2022 14:47:10 +0000
(16:47 +0200)
This reverts commit
6a777ceb0e975f0efc823d2d82e676346f068151
.
gcc/testsuite/g++.dg/torture/pr80334.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/torture/pr80334.C
b/gcc/testsuite/g++.dg/torture/pr80334.C
index
d25b677
..
aee1548
100644
(file)
--- a/
gcc/testsuite/g++.dg/torture/pr80334.C
+++ b/
gcc/testsuite/g++.dg/torture/pr80334.C
@@
-1,8
+1,4
@@
-// This used to be dg-do run testcase, but it is invalid at runtime:
-// trying to do a placement new of A which is 16-byte sized and aligned
-// into a 16-byte buffer at offset 17 bytes from 16-byte aligned address
-// is UB.
-// { dg-do compile }
+// { dg-do run }
struct A { alignas(16) char c; };
struct B { A unpacked; char d; } __attribute__((packed));