https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79377
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Feb 15 07:03:30 2017 New Revision: 245469 URL: https://gcc.gnu.org/viewcvs?rev=245469&root=gcc&view=rev Log: Backported from mainline 2017-02-06 Jakub Jelinek <ja...@redhat.com> PR c++/79377 * tree.c (build_min_non_dep_op_overload): For POST{INC,DEC}REMENT_EXPR allow one fewer than expected arguments if flag_permissive. * g++.dg/lookup/pr79377.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/lookup/pr79377.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/tree.c branches/gcc-6-branch/gcc/testsuite/ChangeLog