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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Mar  2 17:55:28 2018
New Revision: 258149

URL: https://gcc.gnu.org/viewcvs?rev=258149&root=gcc&view=rev
Log:
        PR c++/84664
        * typeck.c (cp_perform_integral_promotions): Check the result of
        mark_rvalue_use.

        * g++.dg/cpp0x/lambda/lambda-ice28.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice28.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to