Re: [PATCH 2/2] Fix PR 95481: tail call fails with empty struct types

2021-06-01 Thread Richard Biener via Gcc-patches
On Mon, May 31, 2021 at 7:30 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > The problem here is we don't have an assignment type any more > for empty structs as they were removed during gimplifcation. > This adds a special case where the assignment var does not exist > and the r

[PATCH 2/2] Fix PR 95481: tail call fails with empty struct types

2021-05-31 Thread apinski--- via Gcc-patches
From: Andrew Pinski The problem here is we don't have an assignment type any more for empty structs as they were removed during gimplifcation. This adds a special case where the assignment var does not exist and the return decl is empty typed. OK? Tested on aarch64-linux-gnu with no regressions.