public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98386] New: C++20 module: file exists failure and success happen alternatively for windows.
@ 2020-12-19  3:11 unlvsur at live dot com
  2020-12-19  3:13 ` [Bug c++/98386] " unlvsur at live dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: unlvsur at live dot com @ 2020-12-19  3:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98386
           Summary: C++20 module: file exists failure and success happen
                    alternatively for windows.
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

D:\Desktop\module>g++ -c main.cc -Ofast -std=c++20 -s -flto -fmodules-ts
-march=native

D:\Desktop\module>g++ -c hello.cc -Ofast -std=c++20 -s -flto -fmodules-ts
-march=native
hello.cc:4:8: error: failed to write compiled module: File exists
    4 | export module hello;
      |        ^~~~~~
hello.cc:4:8: note: compiled module file is 'gcm.cache/hello.gcm'

D:\Desktop\module>g++ -c hello.cc -Ofast -std=c++20 -s -flto -fmodules-ts
-march=native

D:\Desktop\module>g++ -c hello.cc -Ofast -std=c++20 -s -flto -fmodules-ts
-march=native
hello.cc:4:8: error: failed to write compiled module: File exists
    4 | export module hello;
      |        ^~~~~~
hello.cc:4:8: note: compiled module file is 'gcm.cache/hello.gcm'

D:\Desktop\module>g++ -c hello.cc -Ofast -std=c++20 -s -flto -fmodules-ts
-march=native

D:\Desktop\module>g++ -c hello.cc -Ofast -std=c++20 -s -flto -fmodules-ts
-march=native
hello.cc:4:8: error: failed to write compiled module: File exists
    4 | export module hello;
      |        ^~~~~~
hello.cc:4:8: note: compiled module file is 'gcm.cache/hello.gcm'


You have a succ-error-succ-error loop. It must be something bugged here.

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

end of thread, other threads:[~2020-12-21 17:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-19  3:11 [Bug c++/98386] New: C++20 module: file exists failure and success happen alternatively for windows unlvsur at live dot com
2020-12-19  3:13 ` [Bug c++/98386] " unlvsur at live dot com
2020-12-19  3:18 ` unlvsur at live dot com
2020-12-21 17:06 ` nathan at gcc dot gnu.org
2020-12-21 17:11 ` nathan at gcc dot gnu.org
2020-12-21 17:12 ` unlvsur at live dot com
2020-12-21 17:14 ` nathan at gcc dot gnu.org
2020-12-21 17:35 ` unlvsur at live dot com
2020-12-21 17:43 ` nathan at gcc dot gnu.org
2020-12-21 17:45 ` unlvsur at live dot com
2020-12-21 17:46 ` unlvsur at live dot com
2020-12-21 17:51 ` nathan 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).