https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71638

vegard.nossum at gmail dot com <vegard.nossum at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vegard.nossum at oracle dot com

--- Comment #8 from vegard.nossum at gmail dot com <vegard.nossum at oracle dot 
com> ---
FWIW here is a slightly smaller test case for what I assume is the same
underlying bug, but this test case doesn't give any errors before the ICE:

struct {
  int &&a;
  int b{a};
} c[] {
  2
}

Output:

$ cc1plus 
<stdin>:6:1: internal compiler error: non-constant element in constant
CONSTRUCTOR
0x40096d3 verify_constructor_flags(tree_node*)
        /home/vegard/git/gcc/gcc/tree.c:2005
[...]

Reply via email to