[Bug c++/90670] const& template parameter in a header trips -Wsubobject-linkage

2023-09-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90670 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/90670] const& template parameter in a header trips -Wsubobject-linkage

2023-09-15 Thread adam1.byrd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90670 --- Comment #3 from Adam Byrd --- Hmm, I reckon that makes sense. Though the wording is confusing. Why is it "uses the anonymous namespace" instead of something like "has internal linkage". I'm not aware of an anonymous namespace being involved

[Bug c++/90670] const& template parameter in a header trips -Wsubobject-linkage

2023-09-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90670 Patrick Palka changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/90670] const& template parameter in a header trips -Wsubobject-linkage

2022-06-20 Thread Kitsune-Ral at users dot sf.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90670 Alexey Rusakov changed: What|Removed |Added CC||Kitsune-Ral at users dot sf.net --- Com