re PR tree-optimization/47005 (ACATS c62002a is miscompiled at -O2)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 5 Jan 2011 11:23:40 +0000 (11:23 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 5 Jan 2011 11:23:40 +0000 (11:23 +0000)
commit5e9fba51b58a9d9dcd28b6ad3992ec4d8640eae2
treee872641afdccd098468de2882c535d6f0cd0cd4e
parent75fee9f255425ea84d63dd63dbf6f07af7c036d7
re PR tree-optimization/47005 (ACATS c62002a is miscompiled at -O2)

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.

From-SVN: r168508
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt14.adb [new file with mode: 0644]
gcc/tree-sra.c