public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10089] Fortran: Check that the ICE does not reappear [PR102597]
@ 2024-04-23  9:23 Paul Thomas
  0 siblings, 0 replies; only message in thread
From: Paul Thomas @ 2024-04-23  9:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ca00bf02dcc37f9ff1028ca1d90e8b8d95d69683

commit r14-10089-gca00bf02dcc37f9ff1028ca1d90e8b8d95d69683
Author: Paul Thomas <pault@gcc.gnu.org>
Date:   Tue Apr 23 10:22:48 2024 +0100

    Fortran: Check that the ICE does not reappear [PR102597]
    
    2024-04-23  Paul Thomas  <pault@gcc.gnu.org>
    
    gcc/testsuite/
            PR fortran/102597
            * gfortran.dg/pr102597.f90: New test.

Diff:
---
 gcc/testsuite/gfortran.dg/pr102597.f90 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/testsuite/gfortran.dg/pr102597.f90 b/gcc/testsuite/gfortran.dg/pr102597.f90
new file mode 100644
index 00000000000..c2d875f897a
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/pr102597.f90
@@ -0,0 +1,9 @@
+! { dg-do compile }
+! Check that PR102597 does not resurface. Regression caused ICE at associate
+! statement.
+! Contributed by Gerhard Steinmetz  <gscfq@t-online.de>
+program p
+   use iso_fortran_env
+   associate (y => (compiler_version)) ! { dg-error "is a procedure name" }
+   end associate
+end

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-23  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23  9:23 [gcc r14-10089] Fortran: Check that the ICE does not reappear [PR102597] Paul Thomas

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).