https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93921
--- Comment #3 from Bjørnar Snoksrud ---
Using '--std=c++20 -Os' generates minimal code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93921
--- Comment #2 from Bjørnar Snoksrud ---
Created attachment 47904
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47904&action=edit
godbolt output for -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93921
--- Comment #1 from Bjørnar Snoksrud ---
Created attachment 47903
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47903&action=edit
godbolt output for -Os
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: bsnoksru at cisco dot com
Target Milestone: ---
Testing with the following code-fragment
#include
#include
int foo() {
using namespace std::literals;
return "