[Bug c++/92359] function static variable instantiated at -O1 despite extern template

2021-08-13 Thread sbence92 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92359 --- Comment #4 from Bence Szabó --- >That should not matter in even in shared libraries unless you are doing some >symbol hidding in the shared library really. Hmm. I just run the attached example on linux (after some tuning) with -fPIC, and

[Bug c++/100807] New: initialization of global struct with large array leads to huge assembly

2021-05-28 Thread sbence92 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100807 Bug ID: 100807 Summary: initialization of global struct with large array leads to huge assembly Product: gcc Version: 11.1.0 Status: UNCONFIRMED Keywords:

[Bug c++/100800] New: ternary operator doesn't accept T with conversion operator and nullptr

2021-05-27 Thread sbence92 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100800 Bug ID: 100800 Summary: ternary operator doesn't accept T with conversion operator and nullptr Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug c++/61592] ICE with large array with initialization

2021-04-29 Thread sbence92 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61592 Bence Szabó changed: What|Removed |Added CC||sbence92 at gmail dot com --- Comment #2