re PR target/32218 (segfault with -O1 -ftree-vectorize)
PR target/32218 * tree-vect-patterns.c (vect_pattern_recog_1): Check for valid type. From-SVN: r126931
This commit is contained in:
parent
4883241c18
commit
6887a8b9b7
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-07-25 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
PR target/32218
|
||||
* tree-vect-patterns.c (vect_pattern_recog_1): Check for valid type.
|
||||
|
||||
2007-07-25 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* config/ia64/ia64.h (HARD_REGNO_NREGS): Handle RFmode.
|
||||
|
|
|
@ -651,8 +651,9 @@ vect_pattern_recog_1 (
|
|||
|| (icode = optab->handlers[(int) vec_mode].insn_code) ==
|
||||
CODE_FOR_nothing
|
||||
|| (type_out
|
||||
&& (insn_data[icode].operand[0].mode !=
|
||||
TYPE_MODE (get_vectype_for_scalar_type (type_out)))))
|
||||
&& (!get_vectype_for_scalar_type (type_out)
|
||||
|| (insn_data[icode].operand[0].mode !=
|
||||
TYPE_MODE (get_vectype_for_scalar_type (type_out))))))
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue