public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/113743] New: [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors)
@ 2024-02-03 14:29 danglin at gcc dot gnu.org
  2024-02-03 17:18 ` [Bug libstdc++/113743] " danglin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-02-03 14:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113743
           Summary: [14 Regression] FAIL: g++.dg/modules/hello-1_b.C
                    -std=c++17 (test for excess errors)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir64/gcc/testsuite/g++1/../../xg++
-B/home/dave/gnu/gcc/objdir64/gcc/testsuite/g++1/../../
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/modules/hello-1_b.C
-fdiagnostics-plain-output -nostdinc++
-I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++17 -pedantic-errors -Wno-long-long -fmodules-ts -S -o hello-1_b.s
In file included from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/stl_pair.h:62,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/stl_algobase.h:64,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/string:51,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/locale_classes.h:40,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/ios_base.h:41,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/ios:44,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/ostream:40,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/iostream:41,
                 from
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/modules/hello-1_a.C:5,
of module hello, imported at
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/modules/hello-1_b.C:4:
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/utility.h:
In function 'int main()':
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/utility.h:84:11:
error: conflicting global module declaration 'using std::__tuple_element_t =
typename std::tuple_element<__i, std::tuple<_Elements ...> >::type'
In file included from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/stl_pair.h:62,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/stl_algobase.h:64,
                 from
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/string_view:52,
                 from
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/modules/hello-1_b.C:3:
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/utility.h:84:11:
note: existing declaration 'using std::__tuple_element_t = typename
std::tuple_element<__i, std::tuple<_Elements ...> >::type'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/modules/hello-1_b.C:7:3: note:
during load of binding '::greeter@hello'
compiler exited with status 1
FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors)
Excess errors:
/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/utility.h:84:11:
error: conflicting global module declaration 'using std::__tuple_element_t =
typename std::tuple_element<__i, std::tuple<_Elements ...> >::type'

UNRESOLVED: g++.dg/modules/hello-1 -std=c++17 link
UNRESOLVED: g++.dg/modules/hello-1 -std=c++17 execute

Similar fails:
FAIL: g++.dg/modules/hello-1_b.C -std=c++2a (test for excess errors)
FAIL: g++.dg/modules/hello-1_b.C -std=c++2b (test for excess errors)

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

* [Bug libstdc++/113743] [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors)
  2024-02-03 14:29 [Bug libstdc++/113743] New: [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors) danglin at gcc dot gnu.org
@ 2024-02-03 17:18 ` danglin at gcc dot gnu.org
  2024-02-03 19:31 ` pinskia at gcc dot gnu.org
  2024-02-03 19:32 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-02-03 17:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
revision r14-8702-g314cbfe2980 was okay.

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

* [Bug libstdc++/113743] [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors)
  2024-02-03 14:29 [Bug libstdc++/113743] New: [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors) danglin at gcc dot gnu.org
  2024-02-03 17:18 ` [Bug libstdc++/113743] " danglin at gcc dot gnu.org
@ 2024-02-03 19:31 ` pinskia at gcc dot gnu.org
  2024-02-03 19:32 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-03 19:31 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=113710

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Different error message from PR 113710 but I suspect it is the same bug ...

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

* [Bug libstdc++/113743] [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors)
  2024-02-03 14:29 [Bug libstdc++/113743] New: [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors) danglin at gcc dot gnu.org
  2024-02-03 17:18 ` [Bug libstdc++/113743] " danglin at gcc dot gnu.org
  2024-02-03 19:31 ` pinskia at gcc dot gnu.org
@ 2024-02-03 19:32 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-03 19:32 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It is the same bug, libstdc++ header changes exposed a latent bug in the C++
Modules support.

*** This bug has been marked as a duplicate of bug 113710 ***

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

end of thread, other threads:[~2024-02-03 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03 14:29 [Bug libstdc++/113743] New: [14 Regression] FAIL: g++.dg/modules/hello-1_b.C -std=c++17 (test for excess errors) danglin at gcc dot gnu.org
2024-02-03 17:18 ` [Bug libstdc++/113743] " danglin at gcc dot gnu.org
2024-02-03 19:31 ` pinskia at gcc dot gnu.org
2024-02-03 19:32 ` pinskia 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).