https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94810
--- Comment #7 from Geoffrey Casper ---
I believe I did misunderstand comment 3. Thanks for your clarification. Do all
global objects get marked with the constructor attribute, which leads to the
ambiguity?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94810
--- Comment #4 from Geoffrey Casper ---
Wouldn't it make more sense to initialize global objects on a per need basis?
So the constructors of unused global objects would never be called and there is
no ambiguity of when constructors are called. I'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94810
--- Comment #2 from Geoffrey Casper ---
I suppose that's a workaround, but there shouldn't be a seg fault in a
libstdc++ header file.
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcasper42 at gmail dot com
Target Milestone: ---
Created attachment 48389
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48389&action=edit
Code to reproduce bug