This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/47005] [4.6 Regression] ACATS c62002a is miscompiled at -O2


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


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