public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107518] New: -fmodule-ts crashes for #include<type_traits>
@ 2022-11-03 20:06 unlvsur at live dot com
  2022-11-03 20:09 ` [Bug c++/107518] -fmodule-ts crashes for -E flag pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: unlvsur at live dot com @ 2022-11-03 20:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107518
           Summary: -fmodule-ts crashes for #include<type_traits>
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

#pragma once
#include<type_traits>

g++ -E typetraits.h -Ofast -std=c++23 -s -march=native -flto -fmodules-ts
-fmodule-header

...

/usr/local/include/c++/13.0.0/type_traits:3033:27: internal compiler error:
unspellable token PRAGMA_EOL
 3033 |     ~__nonesuch() = delete;
      |                           ^
0x7f0922039d8f __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7f0922039e3f __libc_start_main_impl
        ../csu/libc-start.c:392
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

* [Bug c++/107518] -fmodule-ts crashes for -E flag
  2022-11-03 20:06 [Bug c++/107518] New: -fmodule-ts crashes for #include<type_traits> unlvsur at live dot com
@ 2022-11-03 20:09 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-03 20:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 107173.

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

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

end of thread, other threads:[~2022-11-03 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 20:06 [Bug c++/107518] New: -fmodule-ts crashes for #include<type_traits> unlvsur at live dot com
2022-11-03 20:09 ` [Bug c++/107518] -fmodule-ts crashes for -E flag 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).