aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1997-12-12 10:31:22 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-12-12 05:31:22 -0500
commit74c3447c83e3dc2c080468cc4403d21e72247979 (patch)
tree571d6d2cf939e20a7cfa30320ab8e2b404829b3a /gcc
parent100d81d443fd03ca6450907bf3eaa559b66a4801 (diff)
downloadgcc-74c3447c83e3dc2c080468cc4403d21e72247979.zip
gcc-74c3447c83e3dc2c080468cc4403d21e72247979.tar.gz
gcc-74c3447c83e3dc2c080468cc4403d21e72247979.tar.bz2
osf2or3.h (LIB_SPEC): Restore missing defn.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/osf2or3.h1
-rw-r--r--gcc/config/pa/pa.h2
-rw-r--r--gcc/config/pa/pa.md3
4 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dcac290..045c41f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/alpha/osf2or3.h b/gcc/config/alpha/osf2or3.h
index e6c19e5..03bc58a 100644
--- a/gcc/config/alpha/osf2or3.h
+++ b/gcc/config/alpha/osf2or3.h
@@ -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"
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index a127c84..6af722a 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -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) \
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index 0ed6cbd..704cd7a 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -3371,7 +3371,8 @@
""
"
{
- 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]);
}")