http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49118

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-10 
05:18:40 UTC ---
Author: jason
Date: Fri Jun 10 05:18:36 2011
New Revision: 174889

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174889
Log:
    PR c++/49118
    * typeck2.c (build_x_arrow): Push fake template context
    to produce diagnostic on acyclic endless operator-> drill-down.
    * call.c (build_new_op): Change Boolean overload status
    value to a pointer to the overload function.
    * cp-tree.h: Likewise.
    * typeck.c: Likewise.
    * parser.c: Likewise.
    * decl2.c: Likewise.
    * pt.c: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/template/arrow1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to