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, rfc] Make store motion use alias oracle


On 1/30/07, Victor Kaplansky <VICTORK@il.ibm.com> wrote:


"Richard Guenther" <richard.guenther@gmail.com> wrote on 30.01.2007
16:45:43:

>
> You probably mean this:
>
> http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00669.html
>
> and indeed that should have fixed it.
>
> Richard.

As far as I can see this patch has been committed to mainline.
It helps to propagate only a simple case like:

  1 typedef struct { int x; int y; } S;
  2
  3 int foo(S *p, int x)
  4 {
  5   p->x = x;
  6   return p->x;
  7 }

The patch didn't go in, but only a fix to make store_copyprop handle the case you quoted (which it was designed to handle but for some reason the support for it was broken, see PR26135).

Richard.


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