osf2or3.h (LIB_SPEC): Restore missing defn.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 12 Dec 1997 10:31:22 +0000 (10:31 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 12 Dec 1997 10:31:22 +0000 (05:31 -0500)
* alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
Lost in 11/02 merge.

* pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
* pa.md (iorsi3): Add missing args to *_operand calls.
Simple bugs shown up by recent changes.

From-SVN: r17071

gcc/ChangeLog
gcc/config/alpha/osf2or3.h
gcc/config/pa/pa.h
gcc/config/pa/pa.md

index dcac290..045c41f 100644 (file)
@@ -1,5 +1,10 @@
 Fri Dec 12 01:19:48 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
+       * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
+
+       * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
+       * pa.md (iorsi3): Add missing args to *_operand calls.
+
        * except.c (call_get_eh_context): Don't mess with sequences.
        (emit_eh_context): Include the call in the sequence here.
 
index e6c19e5..03bc58a 100644 (file)
@@ -21,3 +21,4 @@ Boston, MA 02111-1307, USA.  */
 /* In OSF 2 or 3, linking with -lprof1 doesn't require -lpdf.  */
 
 #undef LIB_SPEC
+#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} %{a:-lprof2} -lc"
index a127c84..6af722a 100644 (file)
@@ -1652,7 +1652,7 @@ extern struct rtx_def *hppa_legitimize_address ();
        && TREE_READONLY (DECL) && ! TREE_SIDE_EFFECTS (DECL)           \
        && (! DECL_INITIAL (DECL) || ! reloc_needed (DECL_INITIAL (DECL))) \
        && !flag_pic)                                                   \
-   || (*tree_code_type[(int) TREE_CODE (DECL)] == 'c'                  \
+   || (TREE_CODE_CLASS (TREE_CODE (DECL)) == 'c'                       \
        && !(TREE_CODE (DECL) == STRING_CST && flag_writable_strings)))
 
 #define FUNCTION_NAME_P(NAME) \
index 0ed6cbd..704cd7a 100644 (file)
   ""
   "
 {
-  if (! (ior_operand (operands[2]) || register_operand (operands[2])))
+  if (! (ior_operand (operands[2], SImode)
+         || register_operand (operands[2], SImode)))
     operands[2] = force_reg (SImode, operands[2]);
 }")