From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7BA0C386D63F; Wed, 10 Jan 2024 21:30:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BA0C386D63F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704922232; bh=cx2waywwrcCM9LVMfgmg1ApskMfYogl6aTJQsLm27FU=; h=From:To:Subject:Date:From; b=TStrfMJa7RE/1K2wO92Flh2gmRFmQQUUYt6KDDYEWE4PTDqSNyd7XtHTVXvCIbrGH GWWMMGXvBGHNPKznQ4nHzJ0dL02EyJ6HG3skZOfaCj3mo6pGKgCq6TMUAT7zhBcgjc ZD2/WOjDzbnL5/IJmw+YekI7ygZ2e7966MicxGCA= From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/113317] New: New test case libgomp.c++/ind-base-2.C fails with ICE Date: Wed, 10 Jan 2024 21:30:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113317 Bug ID: 113317 Summary: New test case libgomp.c++/ind-base-2.C fails with ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:1413af02d62182bc1e19698aaa4dae406f8f13bf, r14-7033-g1413af02d62182 Note I only saw this failure on one powerpc64 LE system. It works OK on others. make -k check-target-libgomp RUNTESTFLAGS=3D"c++.exp=3Dlibgomp.c++/ind-bas= e-2.C" FAIL: libgomp.c++/ind-base-2.C (internal compiler error: in operator[], at vec.h:910) FAIL: libgomp.c++/ind-base-2.C (test for excess errors) # of unexpected failures 2 # of unresolved testcases 1 spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xg++ -B/home/seurer/gcc/git/build/gcc-test/gcc/ /home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c++/ind-base-2.C -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgo= mp/ -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgo= mp/.libs -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgo= mp -I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/../../include -I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/.. -fmessage-length=3D0 -fno-diagnostics-show-caret -fdiagnostics-color=3Dnever -fopenmp -fopenmp -nostdinc++ -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc= ++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc= ++-v3/include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgo= mp/../libstdc++-v3/src/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgo= mp/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgo= mp/../libstdc++-v3/src/.libs -lm -o ./ind-base-2.exe /home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c++/ind-base-2.C: In function 'void foo()': /home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c++/ind-base-2.C:35= :48: internal compiler error: in operator[], at vec.h:910 0x102bd66b vec::operator[](unsigned int) /home/seurer/gcc/git/gcc-test/gcc/vec.h:910 0x1087d75b vec::operator[](unsigned int) /home/seurer/gcc/git/gcc-test/gcc/c-family/c-omp.cc:4131 0x1087d75b vec::operator[](unsigned int) /home/seurer/gcc/git/gcc-test/gcc/vec.h:1599 0x1087d75b c_omp_address_inspector::expand_map_clause(tree_node*, tree_node= *, vec&, c_omp_region_ty= pe) /home/seurer/gcc/git/gcc-test/gcc/c-family/c-omp.cc:4057 0x1075dcaf handle_omp_array_sections /home/seurer/gcc/git/gcc-test/gcc/cp/semantics.cc:6042 0x107662b7 finish_omp_clauses(tree_node*, c_omp_region_type) /home/seurer/gcc/git/gcc-test/gcc/cp/semantics.cc:8274 0x106501c3 cp_parser_omp_target /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:46967 0x105fdfef cp_parser_pragma /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:50816 0x1064838f cp_parser_statement /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:12754 0x1060972f cp_parser_statement_seq_opt /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:13334 0x10609a27 cp_parser_compound_statement /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:13188 0x1063d907 cp_parser_function_body /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:25815 0x1063d907 cp_parser_ctor_initializer_opt_and_function_body /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:25866 0x1064515b cp_parser_function_definition_after_declarator /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:32542 0x106467cf cp_parser_function_definition_from_specifiers_and_declarator /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:32459 0x106467cf cp_parser_init_declarator /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:23250 0x106055b3 cp_parser_simple_declaration /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:15816 0x1065a08f cp_parser_declaration /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:15489 0x1065af5b cp_parser_toplevel_declaration /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:15510 0x1065af5b cp_parser_translation_unit /home/seurer/gcc/git/gcc-test/gcc/cp/parser.cc:5276 commit 1413af02d62182bc1e19698aaa4dae406f8f13bf (HEAD) Author: Julian Brown Date: Mon Sep 12 17:11:29 2022 +0000 OpenMP: lvalue parsing for map/to/from clauses (C++) * g++.dg/gomp/ind-base-3.C: New test.=