From 1fd9ac1e5a59d2184e543348f1b71bf93553caf5 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Wed, 9 Jan 2002 05:28:15 +0000 Subject: [PATCH] pa.md (decrement_and_branch_until_zero): Change predicate for operand 0 from register_operand to reg_or_nonsymb_mem_operand. * pa.md (decrement_and_branch_until_zero): Change predicate for operand 0 from register_operand to reg_or_nonsymb_mem_operand. From-SVN: r48673 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.md | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4f66f36e6d..4cb8833f097 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-09 John David Anglin + + * pa.md (decrement_and_branch_until_zero): Change predicate for + operand 0 from register_operand to reg_or_nonsymb_mem_operand. + 2002-01-09 Bryce McKinlay * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_ diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md index 3c86b27f33b..09dd2ff470c 100644 --- a/gcc/config/pa/pa.md +++ b/gcc/config/pa/pa.md @@ -1,6 +1,6 @@ ;;- Machine description for HP PA-RISC architecture for GNU C compiler -;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -;; Free Software Foundation, Inc. +;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +;; 2002 Free Software Foundation, Inc. ;; Contributed by the Center for Software Science at the University ;; of Utah. @@ -6588,8 +6588,9 @@ [(set (pc) (if_then_else (match_operator 2 "comparison_operator" - [(plus:SI (match_operand:SI 0 "register_operand" "+!r,!*f,!*m") - (match_operand:SI 1 "int5_operand" "L,L,L")) + [(plus:SI + (match_operand:SI 0 "reg_or_nonsymb_mem_operand" "+!r,!*f,!*m") + (match_operand:SI 1 "int5_operand" "L,L,L")) (const_int 0)]) (label_ref (match_operand 3 "" "")) (pc))) -- 2.30.2