This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Bug 78619 - [6/7/8 Regression] ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:889
- From: Bernhard Reutner-Fischer <rep dot dot dot nop at gmail dot com>
- To: fortran at gcc dot gnu dot org,Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>,"fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Tue, 07 Nov 2017 23:08:34 +0100
- Subject: Re: Bug 78619 - [6/7/8 Regression] ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:889
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGiJXSE=8Mqh-n3Y6=wmPHQ0Z=zVc5yHztSvqUj=FHRsTgA@mail.gmail.com> <FFD17CD5-007D-4025-B7D3-EBF49E2271DD@gmail.com>
On 7 November 2017 22:52:07 CET, Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> wrote:
>On 7 November 2017 21:41:49 CET, Paul Richard Thomas
><paul.richard.thomas@gmail.com> wrote:
>>Dear All,
>>
>>I have a fix for the above but I am being driven mad by my inability
>>to get the testcase right:
>>/home/pault/svn/trunk/gcc/testsuite/gfortran.dg/pr78619.f90:13:18:
>>Error: 'b' argument of 'sign' intrinsic at (1) must be the same type
>>and kind as 'a'
>>f951: all warnings being treated as errors
>>
>>PASS: gfortran.dg/pr78619.f90 -O (test for errors, line 13)
>>PASS: gfortran.dg/pr78619.f90 -O (test for bogus messages, line
>21)
>>FAIL: gfortran.dg/pr78619.f90 -O (test for excess errors)
>>Excess errors:
>>f951: all warnings being treated as errors
>>
>>Can somebody advise, please?
>
>I don't have the sources at hand but I'd first suggest dg-prune-output
>short of something more elegant.
ISTM this is the one usually used:
! { dg-message "some warnings being treated as errors" "" { target *-*-* } 0 }
HTH