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

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

https://gcc.gnu.org/g:ea5abbb263315e558c876b50c9371b90ddd5e028

commit r14-3907-gea5abbb263315e558c876b50c9371b90ddd5e028
Author: Jason Merrill <ja...@redhat.com>
Date:   Thu Sep 7 05:15:01 2023 -0400

    c++: ICE with -fno-exceptions and array init [PR107198]

    The removed line no longer has an effect on anew5.C error recovery, and
    removing it improves error recovery for this testcase.

            PR c++/107198

    gcc/cp/ChangeLog:

            * typeck2.cc (process_init_constructor_array): Use VEC_INIT_EXPR
            regardless of seen_error.

    gcc/testsuite/ChangeLog:

            * g++.dg/eh/no-exceptions1.C: New test.
  • [Bug c++/107198] [13/14 Regress... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to