This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix g++.dg/opt/pr24665.C


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]