Re: [Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.

2015-04-28 Thread Mikael Morin
Hello, Le 28/04/2015 12:43, Andre Vehreschild a écrit : To get the testsuite accepting a dump-fortran-original, I had to insert a dg-prune-output. Without the prune output, dejagnu was reporting excess errors. The prune removes all output after the first Namespace: that starts the

Re: [commited, Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.

2015-04-28 Thread Andre Vehreschild
Hi Mikael, hi all, Mikael, thanks for the review. Commited as r222539 including the improved regexp. Regards, Andre On Tue, 28 Apr 2015 14:05:57 +0200 Mikael Morin mikael.mo...@sfr.fr wrote: Hello, Le 28/04/2015 12:43, Andre Vehreschild a écrit : To get the testsuite accepting a

Re: [Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.

2015-04-28 Thread Andre Vehreschild
Hi Mikael, hi all, Mikael, thanks for the comments. I have worked in your suggestions and the patch now looks like the attached one. To get the testsuite accepting a dump-fortran-original, I had to insert a dg-prune-output. Without the prune output, dejagnu was reporting excess errors. The

Re: [Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.

2015-04-25 Thread Mikael Morin
Hello, Le 13/03/2015 11:33, Andre Vehreschild a écrit : Hi all, this is another patch preventing a segfault. This time the segfault occurred, when -fdump-(fortran|tree)-original was given with the program having an implicit class set. The issue is that the _data component is assumed to be

Re: [Ping, Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.

2015-04-24 Thread Andre Vehreschild
Ping! This ICE is still in gfortran and with it the patch still current. Bootstrapped and regtests ok on x86_64-linux-gnu/F21. The patch has only changed in being applyable on current trunk (ct) w/o big shifts. Ok for trunk? - Andre This crash is still current On Fri, 13 Mar 2015 11:33:39

[Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.

2015-03-13 Thread Andre Vehreschild
Hi all, this is another patch preventing a segfault. This time the segfault occurred, when -fdump-(fortran|tree)-original was given with the program having an implicit class set. The issue is that the _data component is assumed to be present in a BT_CLASS w/o checking and trying to access the