summaryrefslogtreecommitdiffstats
path: root/gcc/config/pa
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/config/pa
parent30618d5e8d45badd6622fbc17cbcfd54cc90d37b (diff)
downloadppe42-gcc-62728fae1bdc32076b1e1c6d9cf0e194e6c7ead2.tar.gz
ppe42-gcc-62728fae1bdc32076b1e1c6d9cf0e194e6c7ead2.zip
* 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/config/pa')
-rw-r--r--gcc/config/pa/pa.h2
-rw-r--r--gcc/config/pa/pa.md3
2 files changed, 3 insertions, 2 deletions
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]);
}")
OpenPOWER on IntegriCloud