Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-12 Thread Jerry D via Fortran
On 8/12/23 6:41 AM, Jorge D'Elia wrote: Hi Paul, - Mensaje original - De: "Paul Richard Thomas" Para: "Jerry" CC: "Jorge D'Elia" , "Gfortran List" , "Jorge D'Elia" Enviado: Sábado, 12 de Agosto 2023 3:56:44 Asunto: R

Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-12 Thread Steve Kargl via Fortran
On Sat, Aug 12, 2023 at 10:41:10AM -0300, Jorge D'Elia via Fortran wrote: > > $ test-march.exe > > Program received signal SIGILL: Illegal instruction. > This, to me, suggests that the backend is emitting a wrong assembly language code. I suspect that you'll need to compare the generated ass

Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-12 Thread Jorge D'Elia via Fortran
Hi Paul, - Mensaje original - > De: "Paul Richard Thomas" > Para: "Jerry" > CC: "Jorge D'Elia" , "Gfortran List" > , "Jorge D'Elia" > > Enviado: Sábado, 12 de Agosto 2023 3:56:44 > Asunto: Re: beta gf

Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-11 Thread Paul Richard Thomas via Fortran
Hi Jorge, > There were some recent patches in this area IIRC. > > Jerry The tree dump is identical to mine, obtained with GNU Fortran (GCC) 14.0.0 20230809 (experimental), so I doubt that any recent patches are responsible. Being unable to reproduce the error, there is not much that I can do. S

Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-11 Thread Jorge D'Elia via Fortran
Dear Paul / Jerry, - Mensaje original - > De: "Paul Richard Thomas" > Para: "Jerry D" > CC: "Jorge D'Elia" , "Gfortran List" , "Jorge D'Elia" > > Enviado: Viernes, 11 de Agosto 2023 13:55:43 > Asunto: Re: bet

Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-11 Thread Paul Richard Thomas via Fortran
I wonder why the development 14.0.0 doesn't exhibit this behaviour? Could you please rerun with the compile options -g -fdump-tree-original . The later should generate a file *.original with the content: void test () { character(kind=1) cc[1:32]; __builtin_memmove ((void *) &cc, (void *) &"

Re: beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-11 Thread Jerry D via Fortran
On 8/11/23 5:34 AM, Jorge D'Elia via Fortran wrote: Dear GFortran developers, With the beta gfortran 14.x.y versions we are noticing some runtime errors in a production code. One type of runtime errors is related to the concurrent use of the intrinsic "repeat" when the source code is compiled w

beta gfortran 14.x.y (using -march=native and intrinsic repeat) gives a signal SIGILL

2023-08-11 Thread Jorge D'Elia via Fortran
Dear GFortran developers, With the beta gfortran 14.x.y versions we are noticing some runtime errors in a production code. One type of runtime errors is related to the concurrent use of the intrinsic "repeat" when the source code is compiled with the flag -march=native, please, see below: $