Re: RFH: Debugging GCC segfault with LRA-enabled SH backend

2024-08-22 Thread Richard Biener
On Thu, Aug 22, 2024 at 1:35 PM John Paul Adrian Glaubitz wrote: > > On Thu, 2024-08-22 at 13:05 +0200, Richard Biener wrote: > > > I'm not sure that bisecting works here as I suspect the issue is a result > > > of the LRA switch. > > > > For sure. Still debugging/fixing the testsuite issue will

Re: RFH: Debugging GCC segfault with LRA-enabled SH backend

2024-08-22 Thread John Paul Adrian Glaubitz
On Thu, 2024-08-22 at 13:05 +0200, Richard Biener wrote: > > I'm not sure that bisecting works here as I suspect the issue is a result > > of the LRA switch. > > For sure. Still debugging/fixing the testsuite issue will be much easier. > > Does a int main(){} also segfault? I can run the LRA-en

Re: RFH: Debugging GCC segfault with LRA-enabled SH backend

2024-08-22 Thread Richard Biener
On Thu, Aug 22, 2024 at 12:54 PM John Paul Adrian Glaubitz wrote: > > Hi Richard, > > On Thu, 2024-08-22 at 12:49 +0200, Richard Biener wrote: > > If this is stage2 or stage3 it hints at a miscompile of the stage2/3 > > compiler. I'd concentrate on other > > issues first and suggest to use --disa

Re: RFH: Debugging GCC segfault with LRA-enabled SH backend

2024-08-22 Thread John Paul Adrian Glaubitz
Hi Richard, On Thu, 2024-08-22 at 12:49 +0200, Richard Biener wrote: > If this is stage2 or stage3 it hints at a miscompile of the stage2/3 > compiler. I'd concentrate on other > issues first and suggest to use --disable-bootstrap to see if that > gets you to running the testsuite. I have actual

Re: RFH: Debugging GCC segfault with LRA-enabled SH backend

2024-08-22 Thread Richard Biener
On Thu, Aug 22, 2024 at 12:32 PM John Paul Adrian Glaubitz wrote: > > (Please CC me in the replies, I am not subscribed to the list) > > Hi, > > I am currently trying to switch the SH backend to use the LRA register > allocater > by default with the help of patches by Oleg and Kaz (CC'ed) to addr