This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47005] [4.6 Regression] ACATS c62002a is miscompiled at -O2
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 5 Jan 2011 11:24:11 +0000
- Subject: [Bug tree-optimization/47005] [4.6 Regression] ACATS c62002a is miscompiled at -O2
- Auto-submitted: auto-generated
- References: <bug-47005-4@http.gcc.gnu.org/bugzilla/>
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