From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by sourceware.org (Postfix) with ESMTPS id 151093858D28 for ; Tue, 14 Dec 2021 22:58:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 151093858D28 Received: by mail-pj1-x102c.google.com with SMTP id nh10-20020a17090b364a00b001a69adad5ebso17396506pjb.2 for ; Tue, 14 Dec 2021 14:58:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=uXpYLFCFFzCiyyUDFcqxmLglvZcpSaB2qnraNsgp3ps=; b=RgAgUWh3J8aCqOC1RCP+RhjvmSb6xPeJyrvzVazx39T7Mxgh9HmR55iVMOvIZYOq6+ 7Szos6cECGOJU93soc+L/5EVjYQMPBlJMF4SBy0RbLhPAuvsjCgxKGf3uclt1tdOB5zM CjZlZPB/1MI5Z/qzfjzljSEmFhtExOUNPV3Anqp280Twcf0TauAJfxPlFAmpE4noWH/Q ROCus09Fmw2FTYlEAolOxrGYA0KsPPOuj05723nU7n1a3vpRPKgC6g9c8a4SviUR5O95 0YfiplgxgLB/qVt2JowjcoAMhsB5VqZvV52bVeZgoRd/JwXJItL0XjoJMs8N4DIjLtms Ny8w== X-Gm-Message-State: AOAM5308o9RJz2Ofw5MnhQV5HB0wqGKugJuSI0jTpa7UkX0daSHhGK9f 1GZ2LIapyDN02Sxvd/v7obUMJ9+KS5VRug== X-Google-Smtp-Source: ABdhPJz136Rg2oDpMy7Ld+//auZCZ70VDQnTO/cbgNKSlmTYTt2JnV8Q6lkntxusnrejkyUtwoKdoQ== X-Received: by 2002:a17:902:d886:b0:148:a2e8:279c with SMTP id b6-20020a170902d88600b00148a2e8279cmr1622808plz.163.1639522727053; Tue, 14 Dec 2021 14:58:47 -0800 (PST) Received: from [172.31.0.175] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id k19sm140427pff.20.2021.12.14.14.58.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Dec 2021 14:58:46 -0800 (PST) Message-ID: Date: Tue, 14 Dec 2021 15:58:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: testsuite: Be more informative for ICEs Content-Language: en-US To: Thomas Schwinge , gcc-patches@gcc.gnu.org References: <87h7bgdqur.fsf@dem-tschwing-1.ger.mentorg.com> From: Jeff Law In-Reply-To: <87h7bgdqur.fsf@dem-tschwing-1.ger.mentorg.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2021 22:58:51 -0000 On 12/10/2021 3:42 PM, Thomas Schwinge wrote: > Hi! > > OK to push the attached "testsuite: Be more informative for ICEs"? > > > Grüße > Thomas > > > ----------------- > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 > > 0001-testsuite-Be-more-informative-for-ICEs.patch > > From 5ffc2cfc9c6ec6ed0937311377118efd648f0297 Mon Sep 17 00:00:00 2001 > From: Thomas Schwinge > Date: Fri, 10 Dec 2021 19:08:26 +0100 > Subject: [PATCH] testsuite: Be more informative for ICEs > > For example, for the two (FAIL, XFAIL) > 'gcc/testsuite/lib/gcc-dg.exp:gcc-dg-test-1' cases: > > -FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++17 (internal compiler error) > +FAIL: g++.dg/modules/xtreme-header-3_a.H -std=c++17 (internal compiler error: tree check: expected var_decl or function_decl or field_decl or type_decl or concept_decl or template_decl, have namespace_decl in get_merge_kind, at cp/module.cc:10072) > > -FAIL: gfortran.dg/gomp/clauses-1.f90 -O (internal compiler error) > +FAIL: gfortran.dg/gomp/clauses-1.f90 -O (internal compiler error: Segmentation fault) > > -XFAIL: c-c++-common/goacc/kernels-decompose-ice-1.c (internal compiler error) > +XFAIL: c-c++-common/goacc/kernels-decompose-ice-1.c (internal compiler error: in lower_omp_target, at omp-low.c:13147) > > -XFAIL: g++.dg/cpp1z/constexpr-lambda26.C -std=c++17 (internal compiler error) > +XFAIL: g++.dg/cpp1z/constexpr-lambda26.C -std=c++17 (internal compiler error: in cxx_eval_constant_expression, at cp/constexpr.c:6954) > > That allows for more easily spotting when during development you're trading one > ICE for another. > > gcc/testsuite/ > * lib/fortran-torture.exp (fortran-torture-compile) > (fortran-torture-execute): Be more informative for ICEs. > * lib/gcc-defs.exp (${tool}_check_compile): Likewise. > * lib/gcc-dg.exp (gcc-dg-test-1): Likewise. > * lib/go-torture.exp (go-torture-compile, go-torture-execute): > Likewise. OK. jeff