expr.c (expand_expr_real_1): Force op0 to memory if the component is to be referenced...
authorOlivier Hainque <hainque@adacore.com>
Wed, 14 May 2008 15:05:16 +0000 (15:05 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Wed, 14 May 2008 15:05:16 +0000 (15:05 +0000)
commitda19297d259fcb78814efb18314a7948a1cc0d15
tree0858aef5f3aa63b8939b44ff482ee04774554ee9
parent1fd03c702134e610ffa87e5bb380606e14a6dc81
expr.c (expand_expr_real_1): Force op0 to memory if the component is to be referenced in BLKmode according...

        * expr.c (expand_expr_real_1) <normal_inner_ref>: Force op0 to
        memory if the component is to be referenced in BLKmode according
        to get_inner_reference.

        testsuite/
        * gnat.dg/blkextract_from_reg.adb: New test.

From-SVN: r135296
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/blkextract_from_reg.adb [new file with mode: 0644]