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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |egallager at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Vegard Nossum from comment #5)
> This looks like it has been fixed, maybe somebody can confirm and change
> status.

Output is now:

$ /usr/local/bin/g++ -c -std=c++14 -g -Wall -Wextra 81837.cc
81837.cc: In function 'int main()':
81837.cc:18:42: error: name 'align' used in a GNU-style designated initializer
for an array
   chunk = new Unit <int> [10] {.align = 0};
                                          ^
81837.cc:18:42: error: could not convert '0' from 'int' to 'Unit<int>'
$

So confirmed that there's no more ICE. I think the 2 remaining errors are
different enough so as not to need to be de-duplicated, but feel free to open a
new bug if you think there should only be one.

Reply via email to