i386.c (ix86_expand_prologue): Revert 2002-03-03 internal visibility change.
authorRichard Henderson <rth@redhat.com>
Wed, 13 Mar 2002 01:33:36 +0000 (17:33 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 13 Mar 2002 01:33:36 +0000 (17:33 -0800)
        * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
        internal visibility change.

From-SVN: r50704

gcc/ChangeLog
gcc/config/i386/i386.c

index 83dca8de4b416a7d063f0fe2f18952a2f17c0585..ba11d1a7b5e2ac7f65c0dea3e17c02610c78f6fc 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-12  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
+       internal visibility change.
+
 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
index ae714da67b35669c37b39713f1e7c1094458decf..56fdf9076c8d4e4d21a311ab986f778d8ed4a186 100644 (file)
@@ -4184,13 +4184,7 @@ ix86_expand_prologue ()
 #endif
 
   if (pic_reg_used)
-    {
-      tree vis = lookup_attribute ("visibility", DECL_ATTRIBUTES (cfun->decl));
-      if (!vis
-         || strcmp ("internal",
-                    TREE_STRING_POINTER (TREE_VALUE (TREE_VALUE (vis)))))
-        load_pic_register ();
-    }
+    load_pic_register ();
 
   /* If we are profiling, make sure no instructions are scheduled before
      the call to mcount.  However, if -fpic, the above call will have