re PR middle-end/15666 ([unit-at-a-time] Gcc abort on valid code)
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 7 Jun 2004 19:06:28 +0000 (19:06 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 7 Jun 2004 19:06:28 +0000 (19:06 +0000)
PR middle-end/15666
* c-decl.c (finish_decl): Use change_decl_assembler_name for the
builtin decl as well.

From-SVN: r82706

gcc/ChangeLog
gcc/c-decl.c

index ba13ae70377aac5a1ea8088274cf8abcb47b548c..4ac7e3da8e1b3eb4d9646a8757ff9a48a0d9583d 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-07  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR middle-end/15666
+       * c-decl.c (finish_decl): Use change_decl_assembler_name for the
+       builtin decl as well.
+
 2004-06-07  Roger Sayle  <roger@eyesopen.com>
 
        PR c/14649
index ee09afaff0df34ddf190f55534523d337e25f8c6..5cccefc6d68ef1a9f186a36d41c69156a8c44abd 100644 (file)
@@ -2886,7 +2886,7 @@ finish_decl (tree decl, tree init, tree asmspec_tree)
        {
          tree builtin = built_in_decls [DECL_FUNCTION_CODE (decl)];
          SET_DECL_RTL (builtin, NULL_RTX);
-         SET_DECL_ASSEMBLER_NAME (builtin, get_identifier (starred));
+         change_decl_assembler_name (builtin, get_identifier (starred));
 #ifdef TARGET_MEM_FUNCTIONS
          if (DECL_FUNCTION_CODE (decl) == BUILT_IN_MEMCPY)
            init_block_move_fn (starred);