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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Tue Dec  4 14:53:57 2018
New Revision: 266783

URL: https://gcc.gnu.org/viewcvs?rev=266783&root=gcc&view=rev
Log:
        PR c++/88120 - ICE when calling save_expr in a template.
        * typeck.c (cp_build_binary_op): Call cp_save_expr instead of
        save_expr.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/pr88120.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/typeck.c

Reply via email to