OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b0f64f
)
(constrain_operands): Properly handle '#' in constraint.
author
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Mar 1994 20:17:55 +0000
(20:17 +0000)
committer
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Mar 1994 20:17:55 +0000
(20:17 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6704
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/recog.c
patch
|
blob
|
history
diff --git
a/gcc/recog.c
b/gcc/recog.c
index
b3ae350
..
1072fe9
100644
(file)
--- a/
gcc/recog.c
+++ b/
gcc/recog.c
@@
-1,5
+1,5
@@
/* Subroutines used by or related to instruction recognition.
- Copyright (C) 1987,
1988, 1991, 1992, 1993
Free Software Foundation, Inc.
+ Copyright (C) 1987,
88, 91, 92, 93, 1994
Free Software Foundation, Inc.
This file is part of GNU CC.
@@
-1658,12
+1658,18
@@
constrain_operands (insn_code_num, strict)
switch (c)
{
case '?':
- case '#':
case '!':
case '*':
case '%':
break;
+ case '#':
+ /* Ignore rest of this alternative as far as
+ constraint checking is concerned. */
+ while (*p && *p != ',')
+ p++;
+ break;
+
case '=':
op_types[opno] = OP_OUT;
break;