OSDN Git Service

2007-04-21 Andrew Pinski <andrew_pinski@playstation.sony.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Apr 2007 21:47:35 +0000 (21:47 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Apr 2007 21:47:35 +0000 (21:47 +0000)
commitcae486e2e14ff0e3d0d4e78926d324ba1d8d2f1e
treeb4183139462efcda6cbc5858a9ab77488e5d3493
parent774244a790fbf64d41dade7e49a98b6f7f01b3a4
2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C/30265
        * c-gimplifier.c (gimplify_compound_literal_expr): Mark the
        decl as addressable if the compound literal was marked as
        addressable.
        Mark the decl as a gimple register if it is a complex or
        vector decl and does not live in memory.
2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C/30265
        * gcc.c-torture/compile/compound-literal-2.c: New testcase.
        * gcc.c-torture/compile/compound-literal-3.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124024 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/compound-literal-2.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/compound-literal-3.c [new file with mode: 0644]