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] GCSE the content of REG_EQUAL/REG_EQUIV notes as well


Kaz Kojima <kkojima@rr.iij4u.or.jp> writes:

> Ulrich Weigand <uweigand@de.ibm.com> wrote:
> >> 	* gcse.c (hash_scan_set): Look through REG_EQUAL or REG_EQUIV notes
> >> 	also when doing PRE, rather than only for global CPROP.
> > 
> > This causes bootstrap failure on s390(x)-ibm-linux due to a crash in
> > pre_insert_copy_insn, accessing a NULL pointer.
> > 
> > (gdb) bt
> > #0  0x007ba0fa in pre_insert_copy_insn (expr=0xce98a0, insn=0x77e4e450) at ../../gcc-head/gcc/gcse.c:4252
> [snip]
> > Any idea how to fix this?
>  
> This is PR rtl-optimization/25115
> 
>   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25115
> 
> and Paolo has proposed a patch for this
> 
>   http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01954.html

Paolo's patch is OK.

Paolo, the ChangeLog should say "PR rtl-optimization/25115", not just
PR 25115".

Thanks.

Ian


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