This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r168508 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 05 Jan 2011 11:23:41 -0000
- Subject: r168508 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: ebotcazou
Date: Wed Jan 5 11:23:40 2011
New Revision: 168508
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168508
Log:
PR tree-optimization/47005
* tree-sra.c (struct access): Add 'non_addressable' bit.
(create_access): Set it for a DECL_NONADDRESSABLE_P field.
(decide_one_param_reduction): Return 0 if the parameter is passed by
reference and one of the accesses in the group is non_addressable.
Added:
trunk/gcc/testsuite/gnat.dg/opt14.adb
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-sra.c