From patchwork Tue Apr 30 12:45:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Zhuykov X-Patchwork-Id: 1093224 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-499903-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=ispras.ru Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Yzc9flch"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44th8p3Yg0z9s70 for ; Tue, 30 Apr 2019 22:46:00 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; q=dns; s=default; b=Lxo7mzGycG1z8TpzXPuy3jdJsJIjSbsuz5RG4RkQjq5 HBddX6Xw+UOnV5bugXIs2B/ySeRnuprBxTxITA2ycV4PHKoaSi5LnqehUyxJogRg m1nvVs496xnG7bY6RpEXWM6Ag5Z8fzPT79r3GSKoO/KM0ysZz8V/yDQWSsejY9Jo = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; s=default; bh=4+HHzm97fUsdv+0nuOtazSHffRs=; b=Yzc9flchtqVSQihlt TAssSYt+Pt88xD8a5ls71AVoxytCFXhZHPhAH+973XLI0e3Q4kNo4nEz+dQg5khP ZQE4ReW3nz/XHLm13uYhC5zcNQIssXVsIFgK4/SZ6qtGY8OEgWEwX+DeOvLLWgzr ajBjd1T39T3CcXGwJraaNgQWhw= Received: (qmail 85982 invoked by alias); 30 Apr 2019 12:45:53 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 85961 invoked by uid 89); 30 Apr 2019 12:45:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-13.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=H*Ad:U*pault, patched, H*F:D*ru X-HELO: mail.ispras.ru Received: from mail.ispras.ru (HELO mail.ispras.ru) (83.149.199.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Apr 2019 12:45:51 +0000 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) by mail.ispras.ru (Postfix) with ESMTPSA id F17375403BF; Tue, 30 Apr 2019 15:45:48 +0300 (MSK) Received: by mail-lj1-f182.google.com with SMTP id y8so6253564ljd.3; Tue, 30 Apr 2019 05:45:48 -0700 (PDT) MIME-Version: 1.0 From: Roman Zhuykov Date: Tue, 30 Apr 2019 15:45:12 +0300 Message-ID: Subject: [PATCH][GCC 10][RFC] Fix PR testsuite/90113 To: gcc-patches Cc: Rainer Orth , Mike Stump , fortran@gcc.gnu.org, =?utf-8?q?Th?= =?utf-8?q?omas_K=C3=B6nig?= , Paul Thomas Hello Two weeks ago I posted https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90113 We have some unnecessary torture runs for gfortran.dg tests. Full description inside PR. Regtested r270624 trunk on x86_64: Unpatched: === gfortran tests === Running target unix === gfortran Summary === # of expected passes 50246 # of expected failures 188 # of unsupported tests 80 Patched: === gfortran tests === Running target unix FAIL: gfortran.dg/class_45b.f03 (test for excess errors) FAIL: gfortran.dg/inline_matmul_1.f90 scan-tree-dump-times optimized "_gfortran_matmul" 0 FAIL: gfortran.dg/iso_fortran_env_3.f90 (test for excess errors) UNRESOLVED: gfortran.dg/iso_fortran_env_3.f90 compilation failed to produce executable FAIL: gfortran.dg/iso_fortran_env_5.f90 (test for excess errors) UNRESOLVED: gfortran.dg/iso_fortran_env_5.f90 scan-tree-dump-times original "_gfortran_stop" 0 FAIL: gfortran.dg/iso_fortran_env_6.f90 (test for errors, line 24) FAIL: gfortran.dg/iso_fortran_env_6.f90 (test for errors, line 29) FAIL: gfortran.dg/iso_fortran_env_6.f90 (test for errors, line 34) FAIL: gfortran.dg/iso_fortran_env_6.f90 (test for excess errors) FAIL: gfortran.dg/iso_fortran_env_7.f90 (test for excess errors) FAIL: gfortran.dg/pr67140.f90 (test for excess errors) UNRESOLVED: gfortran.dg/pr67140.f90 compilation failed to produce executable FAIL: gfortran.dg/pr71649.f90 (test for errors, line 4) FAIL: gfortran.dg/pr71649.f90 (test for excess errors) FAIL: gfortran.dg/proc_ptr_comp_6.f90 (test for excess errors) UNRESOLVED: gfortran.dg/proc_ptr_comp_6.f90 compilation failed to produce executable FAIL: gfortran.dg/quad_1.f90 (test for excess errors) FAIL: gfortran.dg/quad_3.f90 (test for excess errors) UNRESOLVED: gfortran.dg/quad_3.f90 compilation failed to produce executable FAIL: gfortran.dg/read_eof_all.f90 execution test FAIL: gfortran.dg/short_circuiting.f90 (test for warnings, line 30) FAIL: gfortran.dg/storage_size_4.f90 (test for excess errors) UNRESOLVED: gfortran.dg/storage_size_4.f90 scan-tree-dump-not original "_gfortran_stop" FAIL: gfortran.dg/team_form_1.f90 (test for excess errors) UNRESOLVED: gfortran.dg/team_form_1.f90 compilation failed to produce executable FAIL: gfortran.dg/team_number_1.f90 (test for excess errors) UNRESOLVED: gfortran.dg/team_number_1.f90 compilation failed to produce executable === gfortran Summary === # of expected passes 23396 # of unexpected failures 20 # of expected failures 163 # of unresolved testcases 8 # of unsupported tests 56 I haven't looked at those failures yet. Maybe torture should be disabled another way, I'm not sure. Roman diff --git a/gcc/testsuite/gfortran.dg/dg.exp b/gcc/testsuite/gfortran.dg/dg.exp --- a/gcc/testsuite/gfortran.dg/dg.exp +++ b/gcc/testsuite/gfortran.dg/dg.exp @@ -54,10 +54,10 @@ proc dg-compile-aux-modules { args } { } # Main loop. -gfortran-dg-runtest [lsort \ +dg-runtest [lsort \ [glob -nocomplain $srcdir/$subdir/*.\[fF\]{,90,95,03,08} ] ] "" $DEFAULT_FFLAGS -gfortran-dg-runtest [lsort \ +dg-runtest [lsort \ [glob -nocomplain $srcdir/$subdir/g77/*.\[fF\] ] ] "" $DEFAULT_FFLAGS