[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-fortran
Subject: Re: [Patch, Fortran] Prevent segfault with dump-*-original for implicit class expressions.
From: Mikael Morin <mikael.morin () sfr ! fr>
Date: 2015-04-28 12:05:57
Message-ID: 553F77A5.8070708 () sfr ! fr
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic