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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:6bcca5f642eb950a3cef024ea49a35e4792306f6

commit r13-2631-g6bcca5f642eb950a3cef024ea49a35e4792306f6
Author: Jason Merrill <ja...@redhat.com>
Date:   Mon Sep 12 14:14:24 2022 -0400

    c++: cast to array of unknown bound [PR93259]

    We already know to treat a variable of array-of-unknown-bound type as
    dependent, we should do the same for arr{}.

            PR c++/93259

    gcc/cp/ChangeLog:

            * pt.cc (type_dependent_expression_p): Treat a compound
            literal of array-of-unknown-bound type like a variable.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp0x/initlist-array17.C: New test.
  • [Bug c++/93259] Unsized tempora... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to