gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Apr 2011 12:51:28 +0000 (12:51 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Apr 2011 12:51:28 +0000 (12:51 +0000)
commit9ee2b2fff8e9805c42c97eb1de02dc84e7daf3d9
treeef1f2b179e33edaca097310347743941ae39a687
parent5d592141b494630b3d0cf28fff1f800df6d860da
gcc/
* recog.h (insn_operand_data): Add an "allows_mem" field.
* genoutput.c (output_operand_data): Initialize it.
* optabs.c (maybe_legitimize_operand_same_code): New function.
(maybe_legitimize_operand): Use it when matching the original
op->value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172316 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/genoutput.c
gcc/optabs.c
gcc/recog.h