From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C13C73858C39; Thu, 13 Oct 2022 19:55:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C13C73858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665690928; bh=zdeyvNxorisKh7V2p4VMcrQg1uZyRxwdz3PPpmHqJv4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aIcwXsdj6lhhkE/9C/6HOsJWwIAUAkbXXXqRL0sAkEaCqlLy3/4KJYu4J31HkvgBJ h4S9zSHaOYbH33lHydwNSeDyv8SgJUPe+rqefnEesqmWxQtOrclPdekHgFUP/mZSyc TC/dG8gVxKFZ+7QgOku8lLFRxN37fMeO8vBg8LY0= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93483] ICE in gfc_constructor_copy, at fortran/constructor.c:103 Date: Thu, 13 Oct 2022 19:55:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: anlauf at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93483 --- Comment #12 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #11) > Here is an example, where the array simplifies using the host-associated > parameter value instead of calling the contained function with the same n= ame > hiding it. It is admittedly somewhat artificial. But it is a valid (counter-)example ... :-( Symptoms: invalid declarations, such as real :: b(1) =3D [ real :: (a(1)) ] or real, parameter :: b(1) =3D [ real :: (a(1)) ] are not diagnosed, also not by the Intel compiler, but by NAG: Error: pr93483-mm.f90, line 6: Reference to non-intrinsic function A in constant expression So this looks like a can of worms...=