On Mon, Jul 8, 2024 at 5:32 PM Andi Kleen wrote:
>
> On Mon, Jul 08, 2024 at 09:06:21AM +0200, Richard Biener wrote:
> > On Sat, Jul 6, 2024 at 8:45 PM Andi Kleen wrote:
> > >
> > > > >if (!single_succ_p (bb))
> > > > > -return;
> > > > > +{
> > > > > + int num_eh, num_other;
> >
On Mon, Jul 08, 2024 at 09:06:21AM +0200, Richard Biener wrote:
> On Sat, Jul 6, 2024 at 8:45 PM Andi Kleen wrote:
> >
> > > >if (!single_succ_p (bb))
> > > > -return;
> > > > +{
> > > > + int num_eh, num_other;
> > > > + bb_get_succ_edge_count (bb, num_eh, num_other);
> > >
On Sat, Jul 6, 2024 at 8:45 PM Andi Kleen wrote:
>
> > >if (!single_succ_p (bb))
> > > -return;
> > > +{
> > > + int num_eh, num_other;
> > > + bb_get_succ_edge_count (bb, num_eh, num_other);
> > > + /* Allow EH edges so that we can give a better
> > > +error mes
> >if (!single_succ_p (bb))
> > -return;
> > +{
> > + int num_eh, num_other;
> > + bb_get_succ_edge_count (bb, num_eh, num_other);
> > + /* Allow EH edges so that we can give a better
> > +error message later. */
>
> Please instead use has_abnormal_or_eh_outgoin
On Sat, Jun 22, 2024 at 9:01 PM Andi Kleen wrote:
>
> When musttail is set, make tree-tailcall give error messages
> when it cannot handle a call. This avoids vague "other reasons"
> error messages later at expand time when it sees a musttail
> function not marked tail call.
>
> In various cases t
When musttail is set, make tree-tailcall give error messages
when it cannot handle a call. This avoids vague "other reasons"
error messages later at expand time when it sees a musttail
function not marked tail call.
In various cases this requires delaying the error until
the call is discovered.
g