public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "johelegp at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/100583] [modules] ICE when importing <span>
Date: Fri, 12 Nov 2021 18:58:16 +0000	[thread overview]
Message-ID: <bug-100583-4-1iJ6xhGi8h@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-100583-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
As pointed out in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103118#c3:

> What works is including them in a non-module unit translation unit.
> 
> ```C++
> #if defined(__GNUC__) and not defined(__clang__)
> #  include <chrono> // Workaround GCC bug 103118.
> #  include <span>   // Workaround GCC bug 100583.
> #endif
> import waarudo.geometries;
> import waarudo.numbers;
> import waarudo.quantities;
> #include <cassert>
> ```

  parent reply	other threads:[~2021-11-12 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 11:12 [Bug libstdc++/100583] New: " andreemalcher at gmail dot com
2021-09-27  2:28 ` [Bug c++/100583] " johelegp at gmail dot com
2021-09-28 15:54 ` redi at gcc dot gnu.org
2021-10-03 15:11 ` johelegp at gmail dot com
2021-11-12 18:58 ` johelegp at gmail dot com [this message]
2022-02-13 14:16 ` johelegp at gmail dot com
2022-10-12 11:31 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-100583-4-1iJ6xhGi8h@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).