i386.c (ix86_decompose_address): If operand isn't UNSPEC, return 0.

* config/i386/i386.c (ix86_decompose_address) <case ZERO_EXTEND>:
	If operand isn't UNSPEC, return 0.

From-SVN: r185568
This commit is contained in:
Jakub Jelinek 2012-03-20 12:18:06 +01:00 committed by Jakub Jelinek
parent 3419a445f1
commit 999a099ca2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-03-20 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (ix86_decompose_address) <case ZERO_EXTEND>:
If operand isn't UNSPEC, return 0.
2012-03-20 Richard Guenther <rguenther@suse.de>
* tree-pass.h (pass_rtl_eh): Remove.

View File

@ -11516,6 +11516,8 @@ ix86_decompose_address (rtx addr, struct ix86_address *out)
case ZERO_EXTEND:
op = XEXP (op, 0);
if (GET_CODE (op) != UNSPEC)
return 0;
/* FALLTHRU */
case UNSPEC: