Your new ALIAS_DECLs have a DECL_INITIAL which is a COMPONENT_REF, and that is what is returned by lookup_name_real. Is it safe to reuse the same COMPONENT_REF every time? -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com