From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 64656384AB47; Mon, 13 May 2024 14:06:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64656384AB47 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715609203; bh=WTKlJgcJopwQemVgDvMQonTyNITLLLOjOzW7IRjNw1Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vou0H9MCky/wz5cSc3V8YF2QkPTevFE0qfvdKITLgRedn96oyt9x00kwwKTUYEmi6 Zq2gMPidDnC6og9rIEk2ip975FLEr13O5aiLHKGh6yF3wBPtnm+/JALChd4My+4rEw XMYdWleEdxwbRB/nLc3dC3w905QmDFYScOZ5whRg= From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/114985] [15 regression] internal compiler error: in discriminator_fail during stage2 Date: Mon, 13 May 2024 14:06:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.0 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=3D114985 --- Comment #19 from Martin Jambor --- The following minimized testcase ICEs with r15-312-g36e877996936ab cross-compiler to ppc64le with -O2 nicely: void omp_clause_elt_check(int *, const char *, const char *); enum { C_OMP_CLAUSE_SPLIT_COUNT }; enum c_omp_region_type { C_ORT_OMP }; void c_finish_omp_clauses(int *, c_omp_region_type); int *c_parser_omp_all_clauses_prev; int *c_parser_omp_all_clauses(bool finish_p) { if (finish_p) c_finish_omp_clauses(c_parser_omp_all_clauses_prev, C_ORT_OMP); return c_parser_omp_all_clauses_prev; } int c_parser_omp_teams___trans_tmp_104; static void c_parser_omp_teams(int **cclauses) { c_parser_omp_all_clauses(cclauses); omp_clause_elt_check(&c_parser_omp_teams___trans_tmp_104, "", __FUNCTION_= _); } void c_parser_omp_target() { int *cclauses[C_OMP_CLAUSE_SPLIT_COUNT]; c_parser_omp_teams(cclauses); }=