summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/vta-3.c
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-11-13 16:28:05 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-11-13 16:29:09 +0000
commit03ac50856c9fc8c96b7a17239ee40a10397750a7 (patch)
treea648c6d3428e4757e003f6ed1748adb9613065db /gcc/testsuite/gcc.dg/debug/vta-3.c
parent34efdaf078b01a7387007c4e6bde6db86384c4b7 (diff)
downloadgcc-tarball-03ac50856c9fc8c96b7a17239ee40a10397750a7.tar.gz
gcc 7.2.0
This is imported manually due to a bug in the tarball import script. See the baserock-dev mailing list archives (November 2017) for a more detailed explaination of the issue.
Diffstat (limited to 'gcc/testsuite/gcc.dg/debug/vta-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/debug/vta-3.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/vta-3.c b/gcc/testsuite/gcc.dg/debug/vta-3.c
deleted file mode 100644
index 7d014f1bc1..0000000000
--- a/gcc/testsuite/gcc.dg/debug/vta-3.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* { dg-do compile } */
-
-int
-foo (void)
-{
- union { char e[8]; int i; } a, b;
- char *c, *d;
- unsigned int i;
- c = a.e;
- d = &b.e[sizeof (int) - 1];
- for (i = 0; i < sizeof (int); i++)
- {
- *d = *c++;
- --d;
- }
- return b.i;
-}