https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364
--- Comment #7 from cqwrteur ---
Created attachment 49825
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49825&action=edit
header only naive version
g++ -o naive naive.cc -Ofast -std=c++20 -s -flto
compile both of them and compare assembl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364
--- Comment #6 from cqwrteur ---
(In reply to Nathan Sidwell from comment #2)
> Is this windows-specific? please privode preprocessed source and compilation
> command.
You need to just compile the code and then use objdump to view generated
asse
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364
--- Comment #5 from cqwrteur ---
(In reply to cqwrteur from comment #3)
> Created attachment 49824 [details]
> just compile them and link together to see assembly.
compilation command
g++ -o main main.cc hello.cc -Ofast -std=c++20 -flto -fmodul
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364
--- Comment #4 from cqwrteur ---
(In reply to Nathan Sidwell from comment #2)
> Is this windows-specific? please privode preprocessed source and compilation
> command.
no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364
--- Comment #3 from cqwrteur ---
Created attachment 49824
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49824&action=edit
just compile them and link together to see assembly.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364
Nathan Sidwell changed:
What|Removed |Added
Status|ASSIGNED|WAITING
--- Comment #2 from Nathan Sidw
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364
Nathan Sidwell changed:
What|Removed |Added
Ever confirmed|0 |1
Assignee|unassigned at gcc