[Bug c++/83186] [8 regression] internal compiler error: in build_address, at cp/typeck.c:5667

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 12 19:40:00 GMT 2018


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jan 12 19:40:11 2018
New Revision: 256594

URL: https://gcc.gnu.org/viewcvs?rev=256594&root=gcc&view=rev
Log:
        PR c++/83186 - ICE with static_cast of list-initialized temporary.

        * typeck.c (build_static_cast): Use build_non_dependent_expr.

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


More information about the Gcc-bugs mailing list