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 dcac2906451d1593ff24d9ffb1fb34f0bbc70adc..045c41f82b3f1c8fb2054796c29040cdb5114760 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 e6c19e5f30c8c59f1b023dd2005df91da7bb3aef..03bc58a61e3a7fd6235defb35a19dba4c568d22e 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 a127c84673d6e43c01c41891942f8441dc2de1eb..6af722a1b57b02e1ab35e0c5296558d6caae9133 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 0ed6cbd2d0e00bf2fc3ae50920977c084902bf0c..704cd7ad865d2590f4c353c7025acf752de1c6cc 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]);
 }")