public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Thomas Schwinge <thomas@codesourcery.com>, gcc-patches@gcc.gnu.org
Subject: Re: testsuite: Be more informative for ICEs
Date: Tue, 14 Dec 2021 15:58:45 -0700	[thread overview]
Message-ID: <ee2e5d9f-4e32-e4ea-b1b1-8fcd12ed1860@gmail.com> (raw)
In-Reply-To: <87h7bgdqur.fsf@dem-tschwing-1.ger.mentorg.com>



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 <thomas@codesourcery.com>
> 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


      parent reply	other threads:[~2021-12-14 22:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10 22:42 Thomas Schwinge
2021-12-13 17:53 ` Martin Sebor
2021-12-13 19:12   ` David Malcolm
2021-12-15 22:55     ` Thomas Schwinge
2021-12-14 22:58 ` Jeff Law [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee2e5d9f-4e32-e4ea-b1b1-8fcd12ed1860@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=thomas@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).