Skip to content
Snippets Groups Projects
  • Andrew Pinski's avatar
    c8a0a219
    re PR c/30265 (Compound literal can cause invalid gimple) · c8a0a219
    Andrew Pinski authored
    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.
    
    From-SVN: r124024
    c8a0a219
    History
    re PR c/30265 (Compound literal can cause invalid gimple)
    Andrew Pinski authored
    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.
    
    From-SVN: r124024