Revert "testsuite: Change pr80334.C testcase to dg-do compile [PR102772]"
authorJakub Jelinek <jakub@redhat.com>
Wed, 30 Mar 2022 14:47:10 +0000 (16:47 +0200)
committerJakub 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

index d25b677..aee1548 100644 (file)
@@ -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));