------- Comment #3 from hubicka at gcc dot gnu dot org 2010-07-19 17:52 ------- Created an attachment (id=21251) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21251&action=view) fix
Hi, the problem is that alias is defined in one module, but aliases don't get cgraph nodes unless they are used. It is used in other modules and while merging we clash. It seems OK to just create new node in this case though it is bit ugly (at least ENABLE_CHECKING should verify that decl is indeed alias) or perhaps we can always create node. I will look into it more, but this patch at least solves ICE on the testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44966