------- Comment #6 from aldyh at gcc dot gnu dot org  2007-12-13 21:00 -------
Shouldn't that be:

        if (valid_const_initializer
            && num_nonzero_elements > 1
            && TREE_READONLY (object)
            && TREE_CODE (object) == VAR_DECL

            && !DECL_NAME(object) <---- here

since we won't create the "C" temporary unless !DECL_NAME(object)??

Even with this change (with the DECL_NAME check), the inline problem doesn't go
away.  I'll look into it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34448

Reply via email to