This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR47621
- From: Richard Guenther <rguenther at suse dot de>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Feb 2011 11:26:06 +0100 (CET)
- Subject: Re: [PATCH] Fix PR47621
- References: <201102071854.p17Isapx020191@d06av02.portsmouth.uk.ibm.com>
On Mon, 7 Feb 2011, Ulrich Weigand wrote:
> Richard Guenther wrote:
>
> > PR tree-optimization/47621
> > * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from
> > two duplicates ...
> > (execute_update_addresses_taken): ... here. Make it more
> > conservative in what we accept.
>
> It seems that this caused PR 45945 to re-appear:
>
> Executing on host: /home/uweigand/fsf/gcc-head-build/gcc/xgcc -B/home/uweigand/fsf/gcc-head-build/gcc/ c_lto_20101009-1_0.o -O2 -flto -flto-partition=none -DSTACK_SIZE=16384 -mno-error-reloc -o gcc-dg-lto-20101009-1-11 (timeout = 900)
> In file included from :0:0:^M
> /home/uweigand/fsf/gcc-head/gcc/testsuite/gcc.dg/lto/20101009-1_0.c: In function 'foo':^M
> /home/uweigand/fsf/gcc-head/gcc/testsuite/gcc.dg/lto/20101009-1_0.c:10:1: error: SSA_NAME_DEF_STMT is wrong^M
> Expected definition statement:^M
> __asm__("" : "=r" VIEW_CONVERT_EXPR<unsigned int>(i_3));^M
> ^M
> Actual definition statement:^M
> GIMPLE_NOP^M
> /home/uweigand/fsf/gcc-head/gcc/testsuite/gcc.dg/lto/20101009-1_0.c:10:1: internal compiler error: verify_ssa failed^M
I'll have a look.
Richard.