From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 22FF23858C83; Mon, 7 Feb 2022 18:46:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 22FF23858C83 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/104428] New: [12 Regression] ICE in gfc_trans_omp_declare_variant, at fortran/trans-openmp.cc:7648 Date: Mon, 07 Feb 2022 18:46:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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, 07 Feb 2022 18:46:36 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104428 Bug ID: 104428 Summary: [12 Regression] ICE in gfc_trans_omp_declare_variant, at fortran/trans-openmp.cc:7648 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started between 20211010 and 20211017 : $ cat z1.f90 program p contains subroutine s !$omp declare variant(x) match(construct=3D{do}) end end $ cat z2.f90 # accepted subroutine s !$omp declare variant(x) match(construct=3D{do}) end $ gfortran-12-20220206 -c z2.f90 -fopenmp $ $ gfortran-12-20220206 -c z1.f90 -fopenmp z1.f90:3:15: 3 | subroutine s | 1 interner Compiler-Fehler: Speicherzugriffsfehler 0xcc806f crash_signal ../../gcc/toplev.cc:322 0x816506 gfc_trans_omp_declare_variant(gfc_namespace*) ../../gcc/fortran/trans-openmp.cc:7648 0x7cb007 gfc_create_function_decl(gfc_namespace*, bool) ../../gcc/fortran/trans-decl.cc:3118 0x7d016e gfc_generate_contained_functions ../../gcc/fortran/trans-decl.cc:5768 0x7d016e gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.cc:7586 0x7530ae translate_all_program_units ../../gcc/fortran/parse.cc:6651 0x7530ae gfc_parse_file() ../../gcc/fortran/parse.cc:6938 0x7a00af gfc_be_parse_file ../../gcc/fortran/f95-lang.cc:216=