public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE
@ 2021-03-11  9:50 clyon at gcc dot gnu.org
  2021-03-11  9:52 ` [Bug c++/99547] " clyon at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-03-11  9:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99547
           Summary: [11 regression] g++.dg/modules/xtreme-header-5_c.C
                    -std=c++2a ICE
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Between r11-7602 and r11-7616, I've noticed a regression:
FAIL: g++.dg/modules/xtreme-header-5_c.C -std=c++2a (internal compiler error)

on arm-eabi targets, and aarch64-elf (that is, configs using newlib vs glibc
for *linux* targets)

When using -mfloat-abi=hard on arm-eabi, I can see:

/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/gcc/testsuite/g++1/../../xg++
-B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3
/gcc/testsuite/g++1/../../ /gcc/testsuite/g++.dg/modules/xtreme-header-5_c.C
-mcpu=cortex-a7 -mfloat-abi=hard -march=armv7ve+simd -fdiagnostics-plain-output
-nostdinc++

-I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/arm-none-eabi/thumb/v7ve+simd/hard/libstdc++-v3/include/arm-none-eabi
-I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/
obj-arm-none-eabi/gcc3/arm-none-eabi/thumb/v7ve+simd/hard/libstdc++-v3/include
-I/libstdc++-v3/libsupc++ -I/libstdc++-v3/include/backward
-I/libstdc++-v3/testsuite/util
 -fmessage-length=0 -std=c++2a -pedantic-errors -Wno-long-long -fmodules-ts
-fno-module-lazy -S -o xtreme-header-5_c.s
/gcc/testsuite/g++.dg/modules/xtreme-header-5_c.C:3:30: internal compiler
error: same canonical type node for different types 'void' and
'std::__void_t<decltype ((false ?  declval<typename
std::__match_cv_qualifiers<_From, _To, std::is_const<_Tp>::value,
std::is_volatile<_Tp>::value>::__type& (&)()>()() : declval<typename
std::__match_cv_qualifiers<_Yp, _Xp, std::is_const<_Yp>::value,
std::is_volatile<_Yp>::value>::__type& (&)()>()()))>'
0x97390f comptypes(tree_node*, tree_node*, int)
        /gcc/cp/typeck.c:1555
0x899d4c template_args_equal(tree_node*, tree_node*, bool)
        /gcc/cp/pt.c:9207
0x8998ed comp_template_args(tree_node*, tree_node*, tree_node**, tree_node**,
bool)
        /gcc/cp/pt.c:9254
0x8a6243 spec_hasher::equal(spec_entry*, spec_entry*)
        /gcc/cp/pt.c:1725
0x90e5ae hash_table<spec_hasher, false,
xcallocator>::find_slot_with_hash(spec_entry* const&, unsigned int,
insert_option)
        /gcc/hash-table.h:981
0x8ad6bb add_mergeable_specialization(bool, spec_entry*, tree_node*, unsigned
int)
        /gcc/cp/pt.c:30018
0x80bfb1 trees_in::decl_value()
        /gcc/cp/module.cc:8068
0x80dc47 trees_in::tree_node(bool)
        /gcc/cp/module.cc:9174
0x816a3b module_state::read_cluster(unsigned int)
        /gcc/cp/module.cc:14858
0x816dd4 module_state::load_section(unsigned int, binding_slot*)
        /gcc/cp/module.cc:18129
0x817d37 module_state::read_language(bool)
        /gcc/cp/module.cc:18058
0x81800a direct_import
        /gcc/cp/module.cc:18920
0x88c2b4 cp_parser_translation_unit
        /gcc/cp/parser.c:4905
0x88c2b4 c_parse_file()
        /gcc/cp/parser.c:45241
0xa0a37c c_common_parse_file()
        /gcc/c-family/c-opts.c:1218

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

* [Bug c++/99547] [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE
  2021-03-11  9:50 [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE clyon at gcc dot gnu.org
@ 2021-03-11  9:52 ` clyon at gcc dot gnu.org
  2021-03-11 12:19 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-03-11  9:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I read too quickly, on aarch64 the failing test is xtreme-header-3_c.C.

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

* [Bug c++/99547] [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE
  2021-03-11  9:50 [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE clyon at gcc dot gnu.org
  2021-03-11  9:52 ` [Bug c++/99547] " clyon at gcc dot gnu.org
@ 2021-03-11 12:19 ` rguenth at gcc dot gnu.org
  2021-04-09  8:29 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-11 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug c++/99547] [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE
  2021-03-11  9:50 [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE clyon at gcc dot gnu.org
  2021-03-11  9:52 ` [Bug c++/99547] " clyon at gcc dot gnu.org
  2021-03-11 12:19 ` rguenth at gcc dot gnu.org
@ 2021-04-09  8:29 ` rguenth at gcc dot gnu.org
  2021-04-09 14:44 ` clyon at gcc dot gnu.org
  2021-04-09 20:15 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-09  8:29 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-04-09
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Is it still occuring?

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

* [Bug c++/99547] [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE
  2021-03-11  9:50 [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE clyon at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-04-09  8:29 ` rguenth at gcc dot gnu.org
@ 2021-04-09 14:44 ` clyon at gcc dot gnu.org
  2021-04-09 20:15 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-04-09 14:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Apparently not, the last occurrence was with r11-7662
(g:9844eeff5abd129fab5a4cbd004b814c073a95a1)

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

* [Bug c++/99547] [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE
  2021-03-11  9:50 [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE clyon at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-04-09 14:44 ` clyon at gcc dot gnu.org
@ 2021-04-09 20:15 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-09 20:15 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |jason at gcc dot gnu.org

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Christophe Lyon from comment #3)
> Apparently not, the last occurrence was with r11-7662
> (g:9844eeff5abd129fab5a4cbd004b814c073a95a1)

Closing, then, thanks.

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

end of thread, other threads:[~2021-04-09 20:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  9:50 [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE clyon at gcc dot gnu.org
2021-03-11  9:52 ` [Bug c++/99547] " clyon at gcc dot gnu.org
2021-03-11 12:19 ` rguenth at gcc dot gnu.org
2021-04-09  8:29 ` rguenth at gcc dot gnu.org
2021-04-09 14:44 ` clyon at gcc dot gnu.org
2021-04-09 20:15 ` jason 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).