Re: Help debugging middle-end crash (SSA inlining)

2016-12-12 Thread Janne Blomqvist
On Sun, Dec 4, 2016 at 11:38 PM, Janne Blomqvist wrote: > Hi, > > I'm working on a patch to change the type that GFortran uses for > string lengths from a C int to a C size_t. I'm at a point where it > does regtest successfully, with the exception of > gfortran.dg/char_result_8.f90 with -O1 where

Re: Help debugging middle-end crash (SSA inlining)

2016-12-04 Thread Andre Vehreschild
Hi Janne, Don't know whether that helps, but I had a similar crash in make_ssa_name but with every level of optimization. In my case I had to typedef the type once and all went well from then on. Grep for TYPE_DECL in trans_type.c so see how that was done. May this hint gives you a clue. Humbl

Help debugging middle-end crash (SSA inlining)

2016-12-04 Thread Janne Blomqvist
Hi, I'm working on a patch to change the type that GFortran uses for string lengths from a C int to a C size_t. I'm at a point where it does regtest successfully, with the exception of gfortran.dg/char_result_8.f90 with -O1 where it ICE's. Unfortunately I'm a bit stuck here, and haven't been able