public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99910] New: [11 Regression] g++.dg/modules/xtreme-header-2_b.C ICE
@ 2021-04-04 21:51 hp at gcc dot gnu.org
  2021-04-06  8:05 ` [Bug c++/99910] " rguenth at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: hp at gcc dot gnu.org @ 2021-04-04 21:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99910
           Summary: [11 Regression] g++.dg/modules/xtreme-header-2_b.C ICE
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: jason at gcc dot gnu.org, nathan at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: cris-elf

With 23be03a0f243a084a0fe03d0b96a3d045e1a2b65 (r11-7965)
the g++.dg/modules/xtreme-header-2_b.C test started to fail with an ICE for
cris-elf, thus:
Running /X/gcc/testsuite/g++.dg/modules/modules.exp ...
...
FAIL: g++.dg/modules/xtreme-header-2_b.C -std=c++2b (internal compiler error)
FAIL: g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors)
...
with the following in g++.log (edited for brevity and actual quote from
c3d3bb0f03dbd / r11-7980):

spawn -ignore SIGHUP
/X/gccobj/gcc/testsuite/g++/../../xg++ -B/X/gccobj/gcc/testsuite/g++/../../
/Y/gcc/testsuite/g++.dg/modules/xtreme-header-2_b.C
-fdiagnostics-plain-output -nostdinc++
-I/X/gccobj/cris-elf/libstdc++-v3/include/cris-elf
-I/X/gccobj/cris-elf/libstdc++-v3/include
-I/Y/libstdc++-v3/libsupc++
-I/Y/libstdc++-v3/include/backward
-I/Y/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=c++2b -pedantic-errors -Wno-long-long -fmodules-ts
-fno-module-lazy -S -isystem
/X/gccobj/cris-elf/./newlib/targ-include -isystem
/Y/newlib/libc/include
-o xtreme-header-2_b.s
hash table checking failed: equal operator returns true for
a pair of values with a different hash value
/Y/gcc/testsuite/g++.dg/modules/xtreme-header-2_b.C:4:30:
internal compiler error: in hashtab_chk_error, at hash-table.c:137
0x627fa7 hashtab_chk_error()
        /Y/gcc/hash-table.c:137
0x8bed04 hash_table<spec_hasher, false,
xcallocator>::verify(spec_entry* const&, unsigned int)
        /Y/gcc/hash-table.h:1033
0x8bf2ed hash_table<spec_hasher, false,
xcallocator>::find_slot_with_hash(spec_entry* const&,
unsigned int, insert_option)
        /Y/gcc/hash-table.h:968
0x86415b match_mergeable_specialization(bool, spec_entry*)
        /Y/gcc/cp/pt.c:29908
0x7c6310 trees_in::key_mergeable(int, merge_kind,
tree_node*, tree_node*, tree_node*, tree_node*, bool)
        /Y/gcc/cp/module.cc:10670
0x7bf97e trees_in::decl_value()
        /Y/gcc/cp/module.cc:7903
0x7c1ff4 trees_in::tree_node(bool)
        /Y/gcc/cp/module.cc:9153
0x7caceb module_state::read_cluster(unsigned int)
        /Y/gcc/cp/module.cc:14811
0x7cb0ad module_state::load_section(unsigned int,
binding_slot*)
        /Y/gcc/cp/module.cc:18082
0x7cc3a6 module_state::read_language(bool)
        /Y/gcc/cp/module.cc:18011
0x7cc5c4 direct_import
        /Y/gcc/cp/module.cc:18877
0x842658 cp_parser_translation_unit
        /Y/gcc/cp/parser.c:4907
0x842658 c_parse_file()
        /Y/gcc/cp/parser.c:45268
0x9b6951 c_common_parse_file()
        /Y/gcc/c-family/c-opts.c:1218
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1

I don't see this for other targets on gcc-testresults@. Also, it looks like
-save-temps doesn't help here, so please instruct on how to help me help you
with the equivalent information.

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

end of thread, other threads:[~2022-04-01  5:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-04 21:51 [Bug c++/99910] New: [11 Regression] g++.dg/modules/xtreme-header-2_b.C ICE hp at gcc dot gnu.org
2021-04-06  8:05 ` [Bug c++/99910] " rguenth at gcc dot gnu.org
2021-04-08  4:13 ` hp at gcc dot gnu.org
2021-04-15  4:11 ` hp at gcc dot gnu.org
2021-04-27 11:40 ` [Bug c++/99910] [11/12 " jakub at gcc dot gnu.org
2021-06-14 12:55 ` clyon at gcc dot gnu.org
2021-06-16 17:27 ` hp at gcc dot gnu.org
2021-06-16 20:50 ` msebor at gcc dot gnu.org
2021-07-28  7:06 ` rguenth at gcc dot gnu.org
2021-08-09 21:28 ` hp at gcc dot gnu.org
2021-12-30  7:24 ` pinskia at gcc dot gnu.org
2022-04-01  5:41 ` guojiufu 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).