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 pointer arithmetic handling in tree-ssa-structalias.c


On 12/12/06, Daniel Berlin <dberlin@dberlin.org> wrote:
Without this patch, we are currently considering *(p + x) and *(p + y)
to point to the same thing, even when x and y are not equal.

This is due to a missing else clause.

Fixed thusly.

This fixes SPEC2006 (and vect-101 on osx darwin).

Bootstrapped and regtested on i686-darwin

Committed to mainline.

Btw, the 4.2 branch has the same problem.


Richard.


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