r176801 - in /trunk/gcc: ChangeLog testsuite/Ch...

spop@gcc.gnu.org spop@gcc.gnu.org
Tue Jul 26 18:47:00 GMT 2011


Author: spop
Date: Tue Jul 26 18:47:44 2011
New Revision: 176801

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176801
Log:
Fix PR48805: Do not instantiate ADDR_EXPRs

With this patch we avoid instantiating ADDR_EXPR: it makes no sense
to translate &b[i] into &b[{0, +, 1}_1].

Bootstrapped and tested on amd64-linux.

2011-07-26  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/48805
	* tree-scalar-evolution.c (instantiate_scev_r): Return
	chrec_dont_know for ADDR_EXPR.

	* gcc.dg/graphite/id-pr48805.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/id-pr48805.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-scalar-evolution.c



More information about the Gcc-cvs mailing list