summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-12 10:31:22 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-12 10:31:22 +0000
commit62728fae1bdc32076b1e1c6d9cf0e194e6c7ead2 (patch)
tree571d6d2cf939e20a7cfa30320ab8e2b404829b3a /gcc
parent30618d5e8d45badd6622fbc17cbcfd54cc90d37b (diff)
downloadgcc-62728fae1bdc32076b1e1c6d9cf0e194e6c7ead2.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17071 138bc75d-0d04-0410-961f-82ee72b054a4
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 dcac2906451..045c41f82b3 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 e6c19e5f30c..03bc58a61e3 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 a127c84673d..6af722a1b57 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 0ed6cbd2d0e..704cd7ad865 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]);
}")