re PR tree-optimization/29637 (Endless recursion in make_vector_type)
authorJakub Jelinek <jakub@redhat.com>
Mon, 30 Oct 2006 08:01:28 +0000 (09:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 30 Oct 2006 08:01:28 +0000 (09:01 +0100)
commitcc59abbf350bb3ada6b6255dd5f047b3c904d81d
tree7a07dff5c74eee4bffb4874c3fbefe85e870f507
parent5fbd2051394849190af02e40fe987839f7ef6eb9
re PR tree-optimization/29637 (Endless recursion in make_vector_type)

PR tree-optimization/29637
* tree.c (make_vector_type): Don't recurse if TYPE_MAIN_VARIANT
of the innertype is the innertype itself.

* gcc.dg/pr29637.c: New test.

From-SVN: r118175
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr29637.c [new file with mode: 0644]
gcc/tree.c