From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 643BA385841F; Mon, 7 Mar 2022 18:04:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 643BA385841F From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/104827] New: [12 Regression] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.cc:8329 Date: Mon, 07 Mar 2022 18:04:08 +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 Mar 2022 18:04:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104827 Bug ID: 104827 Summary: [12 Regression] ICE in gfc_conv_array_constructor_expr, at fortran/trans-expr.cc:8329 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 !$omp declare variant(a) match(implementation=3D{f([1])}) end $ cat z2.f90 program p !$omp declare variant(a) match(implementation=3D{f(1)}) end $ gfortran-12-20220306 -c z2.f90 -fopenmp $ $ gfortran-12-20220306 -c z1.f90 -fopenmp z1.f90:1:9: 1 | program p | 1 internal compiler error: in gfc_conv_array_constructor_expr, at fortran/trans-expr.cc:8329 0x7dab56 gfc_conv_array_constructor_expr ../../gcc/fortran/trans-expr.cc:8329 0x7dab56 gfc_conv_expr(gfc_se*, gfc_expr*) ../../gcc/fortran/trans-expr.cc:9422 0x8184a1 gfc_trans_omp_declare_variant(gfc_namespace*) ../../gcc/fortran/trans-openmp.cc:7641 0x7cce37 gfc_create_function_decl(gfc_namespace*, bool) ../../gcc/fortran/trans-decl.cc:3118 0x7d317e gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.cc:7471 0x754b0e translate_all_program_units ../../gcc/fortran/parse.cc:6651 0x754b0e gfc_parse_file() ../../gcc/fortran/parse.cc:6938 0x7a1edf gfc_be_parse_file ../../gcc/fortran/f95-lang.cc:216=