diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2016-04-21 22:01:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2016-04-21 15:01:34 -0700 |
commit | 04a63c24548b2dbda1924205412f00146421a64e (patch) | |
tree | d37bcb94f9f4f567d51e69e1e77e0ed3c7883b6e /gcc/tree-ssa-phiprop.c | |
parent | 6e07f9aaf35eeb81ac81a521b9b5d818a5062761 (diff) | |
download | gcc-04a63c24548b2dbda1924205412f00146421a64e.zip gcc-04a63c24548b2dbda1924205412f00146421a64e.tar.gz gcc-04a63c24548b2dbda1924205412f00146421a64e.tar.bz2 |
X86: Fix a typo in call_insn_operand
r231923 has
;; Test for a valid operand for a call instruction.
;; Allow constant call address operands in Pmode only.
(define_special_predicate "call_insn_operand"
(ior (match_test "constant_call_address_operand
(op, mode == VOIDmode ? mode : Pmode)")
(match_operand 0 "call_register_no_elim_operand")
- (and (not (match_test "TARGET_X32"))
- (match_operand 0 "memory_operand"))))
+ (ior (and (not (match_test "TARGET_X32"))
+ (match_operand 0 "sibcall_memory_operand"))
^^^^^^^^^^^^^^^^^^^^^^^ A typo.
+ (and (match_test "TARGET_X32 && Pmode == DImode")
+ (match_operand 0 "GOT_memory_operand")))))
"sibcall_memory_operand" should be "memory_operand".
gcc/
PR target/70750
* config/i386/predicates.md (call_insn_operand): Replace
sibcall_memory_operand with memory_operand.
gcc/testsuite/
PR target/70750
* gcc.target/i386/pr70750-1.c: New test.
* gcc.target/i386/pr70750-2.c: Likewise.
From-SVN: r235353
Diffstat (limited to 'gcc/tree-ssa-phiprop.c')
0 files changed, 0 insertions, 0 deletions