From: Uros Bizjak Date: Fri, 2 Aug 2019 08:39:09 +0000 (+0200) Subject: pr88140.c: Move to ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5006570d8fb388629051ac82727ca8dfbb1c7e44;p=gcc.git pr88140.c: Move to ... * gcc.c-torture/pr88140.c: Move to ... * gcc.c-torture/compile/pr88140.c: ... here. From-SVN: r273999 --- diff --git a/gcc/testsuite/ChangeLog-2018 b/gcc/testsuite/ChangeLog-2018 index 1d5d430cff8..d4001b4969c 100644 --- a/gcc/testsuite/ChangeLog-2018 +++ b/gcc/testsuite/ChangeLog-2018 @@ -107,9 +107,9 @@ * gfortran.dg/ieee/ieee_9.f90: XFAIL on arm*-*-gnueabi[hf]. 2018-12-24 Jan Hubicka - + PR lto/88140 - * gcc.c-torture/pr88140.c: New testcase. + * gcc.c-torture/compile/pr88140.c: New testcase. 2018-12-24 Iain Sandoe diff --git a/gcc/testsuite/gcc.c-torture/compile/pr88140.c b/gcc/testsuite/gcc.c-torture/compile/pr88140.c new file mode 100644 index 00000000000..1a2bd327a25 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr88140.c @@ -0,0 +1,8 @@ +typedef struct { +} a; + +typedef struct { + a *b[0]; +} c; + +void d() { ((c *)0)->b[0] = 0; } diff --git a/gcc/testsuite/gcc.c-torture/pr88140.c b/gcc/testsuite/gcc.c-torture/pr88140.c deleted file mode 100644 index 1a2bd327a25..00000000000 --- a/gcc/testsuite/gcc.c-torture/pr88140.c +++ /dev/null @@ -1,8 +0,0 @@ -typedef struct { -} a; - -typedef struct { - a *b[0]; -} c; - -void d() { ((c *)0)->b[0] = 0; }