From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 34955393BC19; Thu, 8 Apr 2021 03:01:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34955393BC19 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/99857] [11 Regression] FAIL: libgomp.c/declare-variant-1.c (test for excess errors) by r11-7926 Date: Thu, 08 Apr 2021 03:01:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Thu, 08 Apr 2021 03:01:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99857 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #5 from Arseny Solokha --- (In reply to Jan Hubicka from comment #4) > Having smaller testcase is nice - the libgomp one had quite few > release_body calls at compile time. How about this one, reduced from gcc/testsuite/c-c++-common/gomp/declare-variant-5.c? void f3 (void); #pragma omp declare variant(f3) match(construct =3D {simd}) void f5 (void) { int i; #pragma omp simd for (i =3D 0; i < 1; i++) f5 (); } % gcc-11.0.1 -flto -fopenmp -c wskzgdhe.c during IPA pass: modref wskzgdhe.c:13:1: internal compiler error: in omp_lto_output_declare_variant_alt, at omp-general.c:2368 13 | } | ^ 0x69caf3 omp_lto_output_declare_variant_alt(lto_simple_output_block*, cgraph_node*, lto_symtab_encoder_d*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/omp-general.c:2368 0xc8dca6 output_refs =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/lto-cgraph.c:773 0xc8dca6 output_symtab() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/lto-cgraph.c:1017 0xca3961 lto_output() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/lto-streamer-out.c:2810 0xd2b351 write_lto =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/passes.c:2680 0xd2b351 ipa_write_summaries_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/passes.c:2744 0xd2b351 ipa_write_summaries() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/passes.c:2800 0x9a176d ipa_passes =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/cgraphunit.c:2204 0x9a176d symbol_table::compile() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/cgraphunit.c:2291 0x9a3f87 symbol_table::compile() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/cgraphunit.c:2271 0x9a3f87 symbol_table::finalize_compilation_unit() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.1_alpha20210404/work/gcc-11-20210404/gc= c/cgraphunit.c:2539=