This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51989] std::deque::iterator recognised as container


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

--- Comment #11 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-03-02 16:18:34 UTC ---
Author: paolo
Date: Fri Mar  2 16:18:25 2012
New Revision: 184796

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184796
Log:
/cp
2012-03-02  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51989
    * typeck2.c (build_x_arrow): Take a tsubst_flags_t argument and
    propagate it.
    * cp-tree.h (build_x_arrow): Adjust prototype.
    * pt.c (tsubst_copy_and_build): Adjust call.
    * parser.c (cp_parser_postfix_dot_deref_expression): Likewise.

/testsuite
2012-03-02  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51989
    * g++.dg/cpp0x/sfinae32.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/sfinae32.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]