https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63437
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Oct 10 20:35:18 2014 New Revision: 216106 URL: https://gcc.gnu.org/viewcvs?rev=216106&root=gcc&view=rev Log: PR c++/63437 * cp-tree.h (REF_PARENTHESIZED_P): Also allow INDIRECT_REF. * semantics.c (force_paren_expr): And set it. * typeck.c (check_return_expr): And handle it. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/paren1.C Modified: branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/cp-tree.h branches/gcc-4_9-branch/gcc/cp/semantics.c branches/gcc-4_9-branch/gcc/cp/typeck.c