Re: [PATCH] Fix PR 10153: tail recusion for vector types.

2021-07-22 Thread Richard Biener via Gcc-patches
On Wed, Jul 21, 2021 at 9:30 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > The problem here is we try to an initialized value > from a scalar constant. For vectors we need to do > a vect_dup instead. This fixes that issue by using > build_{one,zero}_cst instead of integer_{one

Re: [PATCH] Fix PR 10153: tail recusion for vector types.

2021-07-21 Thread Richard Biener via Gcc-patches
On Wed, Jul 21, 2021 at 12:03 AM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > The problem here is we try to an initialized value > from a scalar constant. For vectors we need to do > a vect_dup instead. This fixes that issue and we > get the correct code even and it does not cra