spu.c (get_branch_target): Return NULL for ASM_OPERANDS patterns.

2009-09-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
        
        * spu.c (get_branch_target): Return NULL for ASM_OPERANDS patterns.

From-SVN: r152239
This commit is contained in:
Andrew Pinski 2009-09-28 15:49:47 +00:00 committed by Andrew Pinski
parent 44e10129de
commit aa633255e7
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2009-09-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
* spu.c (get_branch_target): Return NULL for ASM_OPERANDS patterns.
2009-09-28 Michael Matz <matz@suse.de>
* builtins.c (interclass_mathfn_icode): New helper.

View File

@ -2364,6 +2364,10 @@ get_branch_target (rtx branch)
|| GET_CODE (PATTERN (branch)) == ADDR_DIFF_VEC)
return 0;
/* ASM GOTOs. */
if (GET_CODE (PATTERN (branch)) == ASM_OPERANDS)
return NULL;
set = single_set (branch);
src = SET_SRC (set);
if (GET_CODE (SET_DEST (set)) != PC)