This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix g++.dg/opt/pr24665.C
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Diego Novillo <dnovillo at google dot com>, Richard Guenther <rguenther at suse dot de>
- Date: Fri, 20 Jul 2007 17:17:57 -0400 (EDT)
- Subject: Re: [PATCH]: Fix g++.dg/opt/pr24665.C
- References: <4aca3dc20707180717g7fd1ac58g8669bc5c5ca8a697@mail.gmail.com>
On Wed, 18 Jul 2007, Daniel Berlin wrote:
> This fixes the regression caused by sccvn where pr24665.C now
> propagates an invalid gimple expression around from DECL_INITIAL.
>
>
> Bootstrapped and regtested on i686-darwin.
>
> Okay for mainline?
> 2007-07-18 Daniel Berlin <dberlin@dberlin.org>
>
> * tree-ssa-sccvn.c (try_to_simplify): Use valid_gimple_expression
> * tree-ssa-propagate (valid_gimple_expression): Handle ADDR_EXPR
> properly.
I'm sorry, but this didn't fix the problem for me for x to
cris-elf. I still see as I mentioned
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/opt/pr24665.C: In
constructor 'Controller_t::Controller_t()':^M
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/g++.dg/opt/pr24665.C:26:
internal compiler error: in get_indirect_ref_operands, at tree-ssa-operands.c:1612^M
brgds, H-P