Commit c55c061a by Jakub Jelinek Committed by Jakub Jelinek

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
parent 85e5e340
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment