public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98735] New: ICE with -std=c++20 -fmodules-ts -fsanitize=undefined
@ 2021-01-18 18:28 webrown.cpp at gmail dot com
  2021-01-18 19:17 ` [Bug c++/98735] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: webrown.cpp at gmail dot com @ 2021-01-18 18:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98735
           Summary: ICE with -std=c++20 -fmodules-ts -fsanitize=undefined
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: webrown.cpp at gmail dot com
  Target Milestone: ---

Using gcc version 11.0.0 20210116 (experimental) (Homebrew GCC HEAD-2c356f2_2)
and compiling with flags:
   -std=c++20 -fmodules-ts -fsanitize=undefined
produces:
  internal compiler error: in tree_node, at cp/module.cc:9125
pointing at the module keyword (line 1) in the following innocuous program:

  export module X;

  export
    inline constexpr bool f( ) noexcept
    { return true; }

Removing -fsanitize=undefined permits successful compilation.

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

end of thread, other threads:[~2024-03-07 20:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 18:28 [Bug c++/98735] New: ICE with -std=c++20 -fmodules-ts -fsanitize=undefined webrown.cpp at gmail dot com
2021-01-18 19:17 ` [Bug c++/98735] " marxin at gcc dot gnu.org
2022-07-26  9:50 ` redi at gcc dot gnu.org
2022-11-29 18:11 ` pinskia at gcc dot gnu.org
2024-03-07 20:29 ` ppalka 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).