[commited, Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.
Andre Vehreschild
vehre@gmx.de
Tue Apr 28 19:43:00 GMT 2015
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.morin@sfr.fr> wrote:
> 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 fortran-dump. I am not that happy with it, because ICEs in the dump
> > will not be detected that way. But I could not find a better solution yet.
> > Does anyone know of a better way to solve this? Best would be to have the
> > fortran dump go to a file like all other dumps, but that is not scope of
> > this patch.
> >
> Without a better idea, the scope of the dg-prune-output should be
> limited at least.
> As the dump ends with a "-------" line, you can use the
> "Namespace:.*-{42}" regular expression.
> OK with that change. Thanks.
>
> Mikael
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 4793 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150428/ec30e643/attachment.bin>
More information about the Gcc-patches
mailing list