From: Eric Botcazou Date: Sat, 13 Mar 2004 18:32:24 +0000 (+0000) Subject: re PR tree-optimization/14470 ([tree-ssa] trouble with post-increment) X-Git-Tag: releases/gcc-3.3.4~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ce494c0bfffd1f0d8bd868d87afc81a226ebc5b;p=thirdparty%2Fgcc.git re PR tree-optimization/14470 ([tree-ssa] trouble with post-increment) PR middle-end/14470 * gcc.c-torture/execute/20040313-1.c: New test. From-SVN: r79456 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0874e2f1c5ce..01604db0afd2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -25,11 +25,11 @@ 2004-03-12 Gabriel Dos Reis Backport: - 2004-03-09 Eric Botcazou + 2004-03-13 Eric Botcazou PR middle-end/14470 * expr.c (store_expr): Call emit_queue before generating the move from the temporary to the original target. Protect the temporary - from emit_queue. + from emit_queue. 2004-03-10 James E Wilson diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1b5a2966023e..a4099ad613df 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-03-13 Eric Botcazou + + PR middle-end/14470 + * gcc.c-torture/execute/20040313-1.c: New test. + 2004-03-13 Jakub Jelinek PR target/14533 diff --git a/gcc/testsuite/gcc.c-torture/execute/20040309-1.c b/gcc/testsuite/gcc.c-torture/execute/20040309-1.c deleted file mode 100644 index d52532d6b444..000000000000 --- a/gcc/testsuite/gcc.c-torture/execute/20040309-1.c +++ /dev/null @@ -1,16 +0,0 @@ -/* PR middle-end/14470 */ -/* Origin: Lodewijk Voge */ - -extern void abort(void); - -int main() -{ - int t[1025] = { 1024 }, d; - - d = 0; - d = t[d]++; - if (t[0] != 1025) - abort(); - return 0; -} -