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

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-28 
11:12:52 UTC ---
You should use

if (HAS_DECL_ASSEMBLER_NAME_P (expr)
    && DECL_ASSEMBLER_NAME_SET_P (expr))
  DECL_ASSEMBLER_NAME (expr);

calling decl_assembler_name on random things is not what you should do.

Reply via email to