public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/113317] New: New test case libgomp.c++/ind-base-2.C fails with ICE
@ 2024-01-10 21:30 seurer at gcc dot gnu.org
  2024-01-10 21:59 ` [Bug other/113317] " bergner at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: seurer at gcc dot gnu.org @ 2024-01-10 21:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113317

            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="c++.exp=libgomp.c++/ind-base-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/./libgomp/
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/../../include
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -fdiagnostics-color=never -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/./libgomp/../libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/../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<tree_node*, va_heap, vl_embed>::operator[](unsigned int)
        /home/seurer/gcc/git/gcc-test/gcc/vec.h:910
0x1087d75b vec<omp_addr_tokenizer::omp_addr_token*, va_heap,
vl_embed>::operator[](unsigned int)
        /home/seurer/gcc/git/gcc-test/gcc/c-family/c-omp.cc:4131
0x1087d75b vec<omp_addr_tokenizer::omp_addr_token*, va_heap,
vl_ptr>::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<omp_addr_tokenizer::omp_addr_token*, va_heap, vl_ptr>&, c_omp_region_type)
        /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 <julian@codesourcery.com>
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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-18 19:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10 21:30 [Bug other/113317] New: New test case libgomp.c++/ind-base-2.C fails with ICE seurer at gcc dot gnu.org
2024-01-10 21:59 ` [Bug other/113317] " bergner at gcc dot gnu.org
2024-01-11 13:53 ` jules at gcc dot gnu.org
2024-01-17  8:06 ` linkw at gcc dot gnu.org
2024-01-18 18:39 ` seurer at gcc dot gnu.org
2024-01-18 19:12 ` jules at gcc dot gnu.org
2024-01-18 21:50 ` seurer at gcc dot gnu.org
2024-01-19 15:24 ` bergner at gcc dot gnu.org
2024-01-19 16:41 ` bergner at gcc dot gnu.org
2024-04-18 19:23 ` tschwinge at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).