This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug 78619 - [6/7/8 Regression] ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:889


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]