public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-30 19:19 ` pinskia at gcc dot gnu.org
  2011-02-02 11:58 ` redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-11-30 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schaub-johannes at web dot
                   |                            |de

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-11-30 19:14:37 UTC ---
*** Bug 43282 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
  2010-11-30 19:19 ` [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template pinskia at gcc dot gnu.org
@ 2011-02-02 11:58 ` redi at gcc dot gnu.org
  2011-05-20 18:43 ` jason at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-02-02 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kreckel at ginac dot de

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-02 11:57:52 UTC ---
*** Bug 47585 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
  2010-11-30 19:19 ` [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template pinskia at gcc dot gnu.org
  2011-02-02 11:58 ` redi at gcc dot gnu.org
@ 2011-05-20 18:43 ` jason at gcc dot gnu.org
  2011-05-20 19:39 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2011-05-20 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-05-20 18:43 ` jason at gcc dot gnu.org
@ 2011-05-20 19:39 ` jason at gcc dot gnu.org
  2011-07-07 21:31 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2011-05-20 19:39 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|                            |FIXED
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.7.0

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-20 18:57:08 UTC ---
Fixed for 4.7.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-05-20 19:39 ` jason at gcc dot gnu.org
@ 2011-07-07 21:31 ` jason at gcc dot gnu.org
  2011-12-29 14:53 ` redi at gcc dot gnu.org
  2012-01-18  4:02 ` zooko at zooko dot com
  6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2011-07-07 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |volker.simonis at gmail dot
                   |                            |com

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-07 21:29:33 UTC ---
*** Bug 47752 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-07-07 21:31 ` jason at gcc dot gnu.org
@ 2011-12-29 14:53 ` redi at gcc dot gnu.org
  2012-01-18  4:02 ` zooko at zooko dot com
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-12-29 14:53 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fedorabugmail at yahoo dot
                   |                            |com

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-29 14:45:14 UTC ---
*** Bug 51699 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-12-29 14:53 ` redi at gcc dot gnu.org
@ 2012-01-18  4:02 ` zooko at zooko dot com
  6 siblings, 0 replies; 8+ messages in thread
From: zooko at zooko dot com @ 2012-01-18  4:02 UTC (permalink / raw)
  To: gcc-bugs

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

Zooko Wilcox-O'Hearn <zooko at zooko dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zooko at zooko dot com

--- Comment #11 from Zooko Wilcox-O'Hearn <zooko at zooko dot com> 2012-01-18 03:04:04 UTC ---
Here is a launchpad ticket tracking the effect of this bugfix on various open
source projects that were depending on the bug:
https://bugs.launchpad.net/cryptopp/+bug/915018


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template
       [not found] <bug-24163-5876@http.gcc.gnu.org/bugzilla/>
@ 2009-12-05  0:04 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-12-05  0:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-12-05 00:03 -------
This is related to PR 15272 where we look at both dependent and non dependent
base classes when only non dependent should be looked at.  Actually I think
this is a dup of that bug but I will leave it to a C++ expert.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Base class scope examined   |dependent Base class scope
                   |during unqualified name     |examined during unqualified
                   |lookup in template          |name lookup in template


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-18  3:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24163-4@http.gcc.gnu.org/bugzilla/>
2010-11-30 19:19 ` [Bug c++/24163] dependent Base class scope examined during unqualified name lookup in template pinskia at gcc dot gnu.org
2011-02-02 11:58 ` redi at gcc dot gnu.org
2011-05-20 18:43 ` jason at gcc dot gnu.org
2011-05-20 19:39 ` jason at gcc dot gnu.org
2011-07-07 21:31 ` jason at gcc dot gnu.org
2011-12-29 14:53 ` redi at gcc dot gnu.org
2012-01-18  4:02 ` zooko at zooko dot com
     [not found] <bug-24163-5876@http.gcc.gnu.org/bugzilla/>
2009-12-05  0:04 ` pinskia at gcc dot gnu dot org

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).