[Bug tree-optimization/47005] [4.6 Regression] ACATS c62002a is miscompiled at -O2
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 5 11:24:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47005
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-05 11:23:43 UTC ---
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
More information about the Gcc-bugs
mailing list