aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-06-24 19:48:16 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-24 19:48:16 +0200
commit54f044ebbbdce8a6758b3fa7bdbd854632bc47b3 (patch)
tree342f106af8349c0f121d3e089e983f9d4013abf1 /gcc/fold-const.c
parentc7d42abb94d423e65a2cbc7334b7ca81c3ff6f5f (diff)
downloadgcc-54f044ebbbdce8a6758b3fa7bdbd854632bc47b3.zip
gcc-54f044ebbbdce8a6758b3fa7bdbd854632bc47b3.tar.gz
gcc-54f044ebbbdce8a6758b3fa7bdbd854632bc47b3.tar.bz2
re PR middle-end/44492 (auto-inc-dec pushes PRE_MODIFY/PRE_INC into inline asm operands)
PR middle-end/44492 * recog.h (struct recog_data): Add is_asm field. * recog.c (asm_operand_ok, constrain_operands): If neither < nor > is present in constraints of inline-asm operand and memory operand contains {PRE,POST}_{INC,DEC,MODIFY}, return 0. (extract_insn): Initialize recog_data.is_asm. * doc/md.texi (Constraints): Document operand side-effect rules. * g++.dg/torture/pr44492.C: New test. From-SVN: r161328
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions