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/42386] [4.5 Regression] ICE in ipcp_iterate_stage, at ipa-cp.c:766



------- Comment #7 from hjl dot tools at gmail dot com  2009-12-16 17:30 -------
(In reply to comment #6)
> Created an attachment (id=19322)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19322&action=view) [edit]
> gcc45-pr42386.patch
> 
> Fix for this testcase.  If we already at maybe_clone_body time know that
> the ctor or dtor will not be emitted in the current TU, we shouldn't create any
> same_body/same_comdat_group relations between the symbols.
> The question is if for DECL_DEFER_OUTPUT we might decide later on that it is
> really DECL_EXTERNAL (i.e. not clear DECL_EXTERNAL on it).
> Alternatively same_comdat_group could be only considered for !DECL_EXTERNAL
> decls.
> 

Do we need those

# 1 "types.h" 1
# 15 "CodingSystem.h" 1

in testcase?


-- 


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


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