public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/29131] [DR 225] Bad name lookup for templates due to fundamental types namespace for ADL. Date: Fri, 20 May 2011 18:36:00 -0000 [thread overview] Message-ID: <bug-29131-4-x4NjNRhXag@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-29131-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29131 --- Comment #17 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-20 18:01:27 UTC --- Author: jason Date: Fri May 20 18:01:22 2011 New Revision: 173965 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173965 Log: PR c++/24163 PR c++/29131 gcc/cp/ * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Avoid repeating unqualified lookup. * semantics.c (perform_koenig_lookup): Add complain parm. * cp-tree.h: Adjust. * parser.c (cp_parser_postfix_expression): Adjust. (cp_parser_perform_range_for_lookup): Adjust. libstdc++-v3/ * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to functions from dependent bases. * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise. * include/ext/pb_ds/detail/rb_tree_map_/ split_join_fn_imps.hpp: Likewise. * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise. * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise. * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise. * include/ext/pb_ds/detail/splay_tree_/ split_join_fn_imps.hpp: Likewise. * include/ext/pb_ds/detail/tree_policy/ order_statistics_imp.hpp: Likewise. * include/ext/pb_ds/detail/trie_policy/ prefix_search_node_update_imp.hpp: Likewise. * include/ext/rc_string_base.h: Likewise. * include/ext/rope: Likewise. * include/ext/ropeimpl.h: Likewise. * testsuite/util/exception/safety.h: Likewise. * testsuite/util/native_type/native_priority_queue.hpp: Likewise. * testsuite/util/testsuite_io.h: Likewise. * include/std/functional: Declare mem_fn earlier. * include/tr1/functional: Likewise. * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier. Added: trunk/gcc/testsuite/g++.dg/template/koenig9.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/semantics.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/opt/pr47615.C trunk/gcc/testsuite/g++.dg/overload/defarg1.C trunk/gcc/testsuite/g++.dg/tc1/dr213.C trunk/gcc/testsuite/g++.dg/torture/pr34850.C trunk/gcc/testsuite/g++.dg/torture/pr39362.C trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash56.C trunk/gcc/testsuite/g++.old-deja/g++.pt/memtemp47.C trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp trunk/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/prefix_search_node_update_imp.hpp trunk/libstdc++-v3/include/ext/rc_string_base.h trunk/libstdc++-v3/include/ext/rope trunk/libstdc++-v3/include/ext/ropeimpl.h trunk/libstdc++-v3/include/std/functional trunk/libstdc++-v3/include/tr1/exp_integral.tcc trunk/libstdc++-v3/include/tr1/functional trunk/libstdc++-v3/testsuite/util/exception/safety.h trunk/libstdc++-v3/testsuite/util/native_type/native_priority_queue.hpp trunk/libstdc++-v3/testsuite/util/testsuite_io.h
next prev parent reply other threads:[~2011-05-20 18:35 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-29131-4@http.gcc.gnu.org/bugzilla/> 2010-10-18 20:28 ` pinskia at gcc dot gnu.org 2011-05-05 0:59 ` redi at gcc dot gnu.org 2011-05-20 16:42 ` jason at gcc dot gnu.org 2011-05-20 16:58 ` jason at gcc dot gnu.org 2011-05-20 18:36 ` jason at gcc dot gnu.org [this message] 2011-05-20 19:24 ` jason at gcc dot gnu.org 2011-09-26 17:40 ` jason at gcc dot gnu.org 2012-04-25 17:34 ` nplatis at freemail dot gr 2012-04-26 14:10 ` jason at gcc dot gnu.org 2012-04-26 14:35 ` nplatis at freemail dot gr 2012-04-26 15:54 ` jason at gcc dot gnu.org 2012-04-26 19:16 ` marc.glisse at normalesup dot org 2012-04-26 21:05 ` nplatis at freemail dot gr 2006-09-18 16:39 [Bug c++/29131] New: Bad name lookup for templates andrew dot stubbs at st dot com 2010-03-24 16:45 ` [Bug c++/29131] [DR 225] Bad name lookup for templates due to fundamental types namespace for ADL pinskia at gcc dot gnu dot org 2010-03-29 20:53 ` pinskia at gcc dot gnu dot org 2010-07-29 15:20 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-29131-4-x4NjNRhXag@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).