From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 327DD3857C77; Mon, 6 Jul 2020 17:01:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 327DD3857C77 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594054919; bh=YROqmIHbsECQRzO1zIjPPf4D/y1aY5G3eGVqXz9v69s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IAsYYYKPJgNTkUG4uEd8BmGT55rNpavKTyosHi3t9B6FPe63ZWyj59uV2CA+RCohb jo5x5y2SKltGVCFzY7FnYq/szQTNvMedvg5hzbKqA+52zADoRAdUgWKs7GkAmaqPIE 2GOcqaSzgzAYJJyeIhj2egjP77QCN6R9Ij6Vy1Mc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95980] ICE in get_unique_type_string, at fortran/class.c:485 Date: Mon, 06 Jul 2020 17:01:59 +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: 11.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2020 17:01:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95980 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f2151227dfe90a5fe73297c370786be98b0b090f commit r11-1855-gf2151227dfe90a5fe73297c370786be98b0b090f Author: Harald Anlauf Date: Mon Jul 6 18:58:23 2020 +0200 PR fortran/95980 - ICE on using sync images with -fcheck=3Dbounds In SELECT TYPE, the argument may be an incorrectly specified unlimited polymorphic variable. Avoid a NULL pointer dereference for clean error recovery. gcc/fortran/ PR fortran/95980 * match.c (copy_ts_from_selector_to_associate, build_class_sym): Distinguish between unlimited polymorphic and ordinary variables to avoid NULL pointer dereference. * resolve.c (resolve_select_type): Distinguish between unlimited polymorphic and ordinary variables to avoid NULL pointer dereference.=