public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/112737] New: [14 Regression] g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors)
@ 2023-11-27 23:09 hp at gcc dot gnu.org
  2023-11-28  0:06 ` [Bug c++/112737] " redi at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: hp at gcc dot gnu.org @ 2023-11-27 23:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112737
           Summary: [14 Regression] g++.dg/modules/xtreme-header-2_b.C
                    -std=c++2b (test for excess errors)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: redi at gcc dot gnu.org
  Target Milestone: ---
            Target: cris-elf

With r14-5794-g7a6a29c455e775 "libstdc++: Define std::ranges::to for C++23
(P1206R7) [PR111055]" this test-suite regression was introduced for various
targets:

Running /x/gcc/testsuite/g++.dg/modules/modules.exp ...
[...]
FAIL: g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors)

According to g++.log, for cris-elf:

Excess errors:
/src/gcc/testsuite/g++.dg/modules/xtreme-header-2_a.H: error: conflicting
global module declaration 'template<template<class ...> class _Cont, class _Rg,
class ... _Args> using std::ranges::__detail::_DeduceExpr1 = decltype
(_Cont<...auto...>(declval<_Rg>(), (declval<_Args>)()...))'
/src/gcc/testsuite/g++.dg/modules/xtreme-header-2_a.H: error: conflicting
global module declaration 'template<template<class ...> class _Cont, class _Rg,
class ... _Args> using std::ranges::__detail::_DeduceExpr2 = decltype
(_Cont<...auto...>(std::from_range, declval<_Rg>(), (declval<_Args>)()...))'
/src/gcc/testsuite/g++.dg/modules/xtreme-header-2_a.H: error: conflicting
global module declaration 'template<template<class ...> class _Cont, class _Rg,
class ... _Args> using std::ranges::__detail::_DeduceExpr3 = decltype
(_Cont<...auto...>(declval<std::ranges::__detail::_InputIter<_Rg> >(),
declval<std::ranges::__detail::_InputIter<_Rg> >(), (declval<_Args>)()...))'
/src/gcc/testsuite/g++.dg/modules/xtreme-header-2_a.H: error: conflicting
global module declaration 'using std::ranges::__detail::_DeduceExpr1 = decltype
(_Cont<...auto...>(declval<_Rg>(), (declval<_Args>)()...))'
/src/gcc/testsuite/g++.dg/modules/xtreme-header-2_a.H: error: conflicting
global module declaration 'using std::ranges::__detail::_DeduceExpr2 = decltype
(_Cont<...auto...>(std::from_range, declval<_Rg>(), (declval<_Args>)()...))'
/src/gcc/testsuite/g++.dg/modules/xtreme-header-2_a.H: error: conflicting
global module declaration 'using std::ranges::__detail::_DeduceExpr3 = decltype
(_Cont<...auto...>(declval<std::ranges::__detail::_InputIter<_Rg> >(),
declval<std::ranges::__detail::_InputIter<_Rg> >(), (declval<_Args>)()...))'

This appears to happen also for "aarch64":
https://gcc.gnu.org/pipermail/gcc-regression/2023-November/078616.html
and "Linux/x86_64":
https://gcc.gnu.org/pipermail/gcc-regression/2023-November/078617.html
suggesting that most targets are affected.

(Maintainers, please adjust your scripts to include a full gnu target tuple in
your autotester messages in those places where the abbreviated quoted ones are
found, so that readers can cut-and-paste that key information for e.g.
additional targets in bug-reports, QED.  Additional steps such as following
links should not be necessary.)

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

end of thread, other threads:[~2024-02-02 13:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 23:09 [Bug c++/112737] New: [14 Regression] g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors) hp at gcc dot gnu.org
2023-11-28  0:06 ` [Bug c++/112737] " redi at gcc dot gnu.org
2023-12-06 15:55 ` danglin at gcc dot gnu.org
2023-12-11 18:00 ` ppalka at gcc dot gnu.org
2023-12-12  1:49 ` ppalka at gcc dot gnu.org
2024-01-13 19:07 ` danglin at gcc dot gnu.org
2024-01-31 14:58 ` ppalka at gcc dot gnu.org
2024-01-31 15:32 ` ppalka at gcc dot gnu.org
2024-01-31 15:47 ` ppalka at gcc dot gnu.org
2024-02-01 18:18 ` cvs-commit at gcc dot gnu.org
2024-02-01 18:19 ` ppalka at gcc dot gnu.org
2024-02-02 13:25 ` hp 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).