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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

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

commit r14-4924-gfb28d5c6b0a47ab704290d0122f978d1e6346551
Author: Patrick Palka <ppa...@redhat.com>
Date:   Wed Oct 25 09:03:52 2023 -0400

    c++: add fixed testcase [PR99804]

    We accept the non-dependent call f(e) here ever since the
    NON_DEPENDENT_EXPR removal patch r14-4793-gdad311874ac3b3.
    I haven't looked closely into why but I suspect wrapping 'e'
    in a NON_DEPENDENT_EXPR was causing the argument conversion
    to misbehave.

            PR c++/99804

    gcc/testsuite/ChangeLog:

            * g++.dg/template/enum9.C: New test.

Reply via email to