re PR testsuite/44701 (PR44492 fix broke gcc.target/powerpc/asm-es-2.c)

PR testsuite/44701
	* recog.c (constrain_operands): Allow side-effects in memory
	operands if either < or > constraint is used, rather than if
	both < and > is used.

From-SVN: r162142
This commit is contained in:
Jakub Jelinek 2010-07-13 16:03:49 +02:00 committed by Jakub Jelinek
parent 85e5e340be
commit c55c061a89
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2010-07-13 Jakub Jelinek <jakub@redhat.com>
PR testsuite/44701
* recog.c (constrain_operands): Allow side-effects in memory
operands if either < or > constraint is used, rather than if
both < and > is used.
2010-07-13 Richard Guenther <rguenther@suse.de>
PR middle-end/44911

View File

@ -2742,7 +2742,7 @@ constrain_operands (int strict)
case PRE_MODIFY:
case POST_MODIFY:
if (strchr (recog_data.constraints[opno], '<') == NULL
|| strchr (recog_data.constraints[opno], '>')
&& strchr (recog_data.constraints[opno], '>')
== NULL)
return 0;
break;