------- Comment #6 from rguenth at gcc dot gnu dot org 2009-07-07 12:44 ------- Subject: Bug 40669
Author: rguenth Date: Tue Jul 7 12:44:32 2009 New Revision: 149321 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149321 Log: 2009-07-07 Richard Guenther <rguent...@suse.de> PR middle-end/40328 PR tree-optimization/40669 * tree-tailcall.c (adjust_accumulator_values): Properly set DECL_GIMPLE_REG_P. (adjust_return_value): Likewise. (tree_optimize_tail_calls_1): Likewise. * fold-const.c (fold_convert): Fold the built COMPLEX_EXPR. * gcc.dg/pr40669.c: New testcase. * gcc.dg/torture/pr40328.c: Likewise. Added: branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr40669.c branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/torture/pr40328.c Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/fold-const.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog branches/gcc-4_3-branch/gcc/tree-tailcall.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40669