Re: [PATCH] tree-optimization/119532 - ICE with fixed-point tail recursion

2025-04-04 Thread Richard Biener
On Mon, 31 Mar 2025, Jakub Jelinek wrote: > On Mon, Mar 31, 2025 at 11:12:45AM +0200, Richard Biener wrote: > > The following disables tail recursion optimization when fixed-point > > types are involved as we cannot generate -1 for all fixed-point > > types. > > > > Bootstrapped and tested on x86

[PATCH] tree-optimization/119532 - ICE with fixed-point tail recursion

2025-04-04 Thread Richard Biener
The following disables tail recursion optimization when fixed-point types are involved as we cannot generate -1 for all fixed-point types. Bootstrapped and tested on x86_64-unknown-linux-gnu. OK? Thanks, Richard. PR tree-optimization/119532 * tree-tailcall.cc (process_assignment

Re: [PATCH] tree-optimization/119532 - ICE with fixed-point tail recursion

2025-03-31 Thread Jakub Jelinek
On Mon, Mar 31, 2025 at 11:25:27AM +0200, Richard Biener wrote: > > > PR tree-optimization/119532 > > > * tree-tailcall.cc (process_assignment): FAIL for fixed-point > > > typed functions. > > > > > > * gcc.dg/torture/pr119532.c: New testcase. > > > > So shouldn't we punt in that case jus

Re: [PATCH] tree-optimization/119532 - ICE with fixed-point tail recursion

2025-03-31 Thread Jakub Jelinek
On Mon, Mar 31, 2025 at 11:12:45AM +0200, Richard Biener wrote: > The following disables tail recursion optimization when fixed-point > types are involved as we cannot generate -1 for all fixed-point > types. > > Bootstrapped and tested on x86_64-unknown-linux-gnu. OK? > > Thanks, > Richard. >