This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r161328 - in /trunk/gcc: ChangeLog doc/md.texi ...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 24 Jun 2010 17:48:17 -0000
- Subject: r161328 - in /trunk/gcc: ChangeLog doc/md.texi ...
Author: jakub
Date: Thu Jun 24 17:48:16 2010
New Revision: 161328
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161328
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr44492.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/md.texi
trunk/gcc/recog.c
trunk/gcc/recog.h
trunk/gcc/testsuite/ChangeLog