This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/34448] [4.3 Regression] ICE in declare_inline_vars, at tree-inline.c:3243



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]