diff options
author | James E Wilson <wilson@specifixinc.com> | 2004-09-10 03:51:40 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2004-09-09 20:51:40 -0700 |
commit | 3274deff9fbb7530ef76ba973070d696696d20ec (patch) | |
tree | 1c4bb669ecba87bd3145ccb5f02df805439797e1 /gcc/loop-invariant.c | |
parent | 049e524f68be57df307f11ea9d3d28afdc37d7c3 (diff) | |
download | gcc-3274deff9fbb7530ef76ba973070d696696d20ec.zip gcc-3274deff9fbb7530ef76ba973070d696696d20ec.tar.gz gcc-3274deff9fbb7530ef76ba973070d696696d20ec.tar.bz2 |
Fix ICE on invalid input, and eliminate confusing error message.
* c-typeck.c (convert_for_assignment): Check that rhs has VECTOR_TYPE
before calling vector_types_convertible_p.
(digest_init): Check that inside_init has VECTOR_TYPE before calling
vector_types_convertible_p. Don't give another error if
convert_for_assignment returns error_mark_node.
From-SVN: r87273
Diffstat (limited to 'gcc/loop-invariant.c')
0 files changed, 0 insertions, 0 deletions