This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix endless recursion in make_vector_type (PR tree-opt/29637; 4.[0123] regression cause by PR c/29092 fix)


Hi Jakub,

On Sun, 29 Oct 2006, Jakub Jelinek wrote:
> 2006-10-29  Jakub Jelinek  <jakub@redhat.com>
>
> 	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.

Sorry for the inconvenience.  This is OK for all active branches.
Whilst it isn't clear whether it'd be nice to always have a type
without attributes to the be the TYPE_MAIN_VARIANT, this change is
always safe, and resovles the regression.

Thanks for fixing this.

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]