From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18111 invoked by alias); 4 Sep 2011 20:35:56 -0000 Received: (qmail 17975 invoked by uid 22791); 4 Sep 2011 20:35:55 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Sep 2011 20:35:41 +0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50288] FAIL: gfortran.dg/class_45b.f03 Date: Sun, 04 Sep 2011 20:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00271.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50288 --- Comment #4 from Dominique d'Humieres 2011-09-04 20:35:36 UTC --- > An evil trick would be the following, which causes a run once: ... It works, but I think if this trick is used, it should be documented as in gcc/testsuite/gfortran.dg/cray_pointers_2.f90: ! Using two spaces between dg-do and run is a hack to keep gfortran-dg-runtest ! from cycling through optimization options for this expensive test. Another working possibility is to remove the line ! { dg-final { cleanup-modules "G_Nodes" } } from gfortran.dg/class_45b.f03 and add an empty "cleaning" test: cat ./gcc/testsuite/gfortran.dg/class_45c.f03 ! { dg-do run } ! ! PR 50227: [4.7 Regression] [OOP] ICE-on-valid with allocatable class variable ! ! Contributed by Andrew Benson program Test end program Test ! { dg-final { cleanup-modules "G_Nodes" } } Note that it will be impossible to test gfortran.dg/class_45b.f03 alone.