Summary: | sys-devel/gcc-10.2.0-r3: internal compiler error: in output_constructor_regular_field, at varasm.c:5214 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stephan Hartmann (RETIRED) <sultan> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | herrtimson, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gcc.gnu.org/PR96863 | ||
See Also: |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98463 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | reduced testcase |
Description
Stephan Hartmann (RETIRED)
2020-11-27 15:01:18 UTC
-std=gnu++14 isn't needed on reduced testcase, only original source required it. Confirmed. Also happens on gcc-11. Upstream bug tracker has quite a few output_constructor_regular_field crashes. Let's see which one of those it is. I think it's https://gcc.gnu.org/PR96863 ([[no_unique_address]]). (In reply to Sergei Trofimovich from comment #3) > I think it's https://gcc.gnu.org/PR96863 ([[no_unique_address]]). Slight simplification in templates yields the following minimal example: """ struct less {}; struct flat_tree { constexpr flat_tree(char *str) : ptr_(str), comp_() {} char *ptr_; [[no_unique_address]] less comp_; } kSchemas{""}; """ |