public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103256] New: Internal compiler error after using iostream and filesystem as modules
@ 2021-11-15 18:02 hrominium at gmail dot com
  2024-03-07 19:56 ` [Bug c++/103256] [modules] " ppalka at gcc dot gnu.org
  2024-03-08 16:15 ` ppalka at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: hrominium at gmail dot com @ 2021-11-15 18:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103256
           Summary: Internal compiler error after using iostream and
                    filesystem as modules
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hrominium at gmail dot com
  Target Milestone: ---

The compiler crashes with "inernal compiler error" while compiling the
following program:

```
import <iostream>;
import <filesystem>;

namespace fs = std::filesystem;


int main(int argc, char* argv[]){
    fs::path input = "./";
    std::cout << input;
    return 0;
}
```

Compiled with:
g++ -c -std=c++20 -fmodules-ts -x c++-system-header filesystem iostream
g++ -std=c++20 -fmodules-ts -o test test.cpp


GCC versions:
11.1 (archlinux)
11.2 (selfcompiled from gcc's git repo)

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

* [Bug c++/103256] [modules] Internal compiler error after using iostream and filesystem as modules
  2021-11-15 18:02 [Bug c++/103256] New: Internal compiler error after using iostream and filesystem as modules hrominium at gmail dot com
@ 2024-03-07 19:56 ` ppalka at gcc dot gnu.org
  2024-03-08 16:15 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-03-07 19:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103256
Bug 103256 depends on bug 94476, which changed state.

Bug 94476 Summary: NSDMI deferred parse
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94476

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug c++/103256] [modules] Internal compiler error after using iostream and filesystem as modules
  2021-11-15 18:02 [Bug c++/103256] New: Internal compiler error after using iostream and filesystem as modules hrominium at gmail dot com
  2024-03-07 19:56 ` [Bug c++/103256] [modules] " ppalka at gcc dot gnu.org
@ 2024-03-08 16:15 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-03-08 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
This testcase successfully compiles and runs since GCC 13.

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

end of thread, other threads:[~2024-03-08 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15 18:02 [Bug c++/103256] New: Internal compiler error after using iostream and filesystem as modules hrominium at gmail dot com
2024-03-07 19:56 ` [Bug c++/103256] [modules] " ppalka at gcc dot gnu.org
2024-03-08 16:15 ` 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).