> > I used this variant which passes tests. It assumes that there are no
> > wrapped calls with this flag, but I assume that's ok.
>
> musttail10.C should also check the case where the function called with
> [[musttail]] returns a non-trivially-copyable class (e.g. that has a
> destructor).
It fa
On 6/3/24 15:35, Andi Kleen wrote:
On Mon, Jun 03, 2024 at 12:29:28PM -0400, Jason Merrill wrote:
On 6/3/24 11:44, Jakub Jelinek wrote:
On Mon, Jun 03, 2024 at 08:33:52AM -0700, Andi Kleen wrote:
On Mon, Jun 03, 2024 at 10:42:20AM -0400, Jason Merrill wrote:
@@ -30316,7 +30348,7 @@ cp_parser_
On Mon, Jun 03, 2024 at 12:29:28PM -0400, Jason Merrill wrote:
> On 6/3/24 11:44, Jakub Jelinek wrote:
> > On Mon, Jun 03, 2024 at 08:33:52AM -0700, Andi Kleen wrote:
> > > On Mon, Jun 03, 2024 at 10:42:20AM -0400, Jason Merrill wrote:
> > > > > @@ -30316,7 +30348,7 @@ cp_parser_std_attribute (cp_p
On 6/3/24 11:44, Jakub Jelinek wrote:
On Mon, Jun 03, 2024 at 08:33:52AM -0700, Andi Kleen wrote:
On Mon, Jun 03, 2024 at 10:42:20AM -0400, Jason Merrill wrote:
@@ -30316,7 +30348,7 @@ cp_parser_std_attribute (cp_parser *parser, tree
attr_ns)
/* Maybe we don't expect to see any argument
On Mon, Jun 03, 2024 at 08:33:52AM -0700, Andi Kleen wrote:
> On Mon, Jun 03, 2024 at 10:42:20AM -0400, Jason Merrill wrote:
> > > @@ -30316,7 +30348,7 @@ cp_parser_std_attribute (cp_parser *parser, tree
> > > attr_ns)
> > > /* Maybe we don't expect to see any arguments for this attribute.
On Mon, Jun 03, 2024 at 10:42:20AM -0400, Jason Merrill wrote:
> > @@ -30316,7 +30348,7 @@ cp_parser_std_attribute (cp_parser *parser, tree
> > attr_ns)
> > /* Maybe we don't expect to see any arguments for this attribute. */
> > const attribute_spec *as
> > = lookup_attribute
On 6/2/24 13:16, Andi Kleen wrote:
This patch implements a clang compatible [[musttail]] attribute for
returns.
musttail is useful as an alternative to computed goto for interpreters.
With computed goto the interpreter function usually ends up very big
which causes problems with register allocat
This patch implements a clang compatible [[musttail]] attribute for
returns.
musttail is useful as an alternative to computed goto for interpreters.
With computed goto the interpreter function usually ends up very big
which causes problems with register allocation and other per function
optimizati