public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
@ 2011-10-09 13:37 ` bangerth at gmail dot com
  2013-01-22  7:54 ` gcc-bugs at tesarici dot cz
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: bangerth at gmail dot com @ 2011-10-09 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

Wolfgang Bangerth <bangerth at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at gmail dot com

--- Comment #7 from Wolfgang Bangerth <bangerth at gmail dot com> 2011-10-09 13:36:06 UTC ---
Still happens with gcc4.5.1.


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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
  2011-10-09 13:37 ` [Bug c++/15272] lookup, dependent base bangerth at gmail dot com
@ 2013-01-22  7:54 ` gcc-bugs at tesarici dot cz
  2013-04-16 21:08 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: gcc-bugs at tesarici dot cz @ 2013-01-22  7:54 UTC (permalink / raw)
  To: gcc-bugs


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

Petr Tesarik <gcc-bugs at tesarici dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc-bugs at tesarici dot cz

--- Comment #8 from Petr Tesarik <gcc-bugs at tesarici dot cz> 2013-01-22 07:54:28 UTC ---
Still present in 4.7.1:

tesarik@azariah:~/src/research/c++> g++ -Wall -c -o pr15272.o pr15272.cc 
pr15272.cc: In instantiation of ‘void A<Base>::foo() [with Base = Y]’:
pr15272.cc:22:1:   required from here
pr15272.cc:15:5: error: request for member ‘f’ is ambiguous
pr15272.cc:3:10: error: candidates are: void X::f()
pr15272.cc:8:10: error:                 void Y::f()

tesarik@azariah:~/src/research/c++> g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.7/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.7
--enable-ssp --disable-libssp --disable-libitm --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib
--enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --enable-linker-build-id
--program-suffix=-4.7 --enable-linux-futex --without-system-libunwind
--with-arch-32=i586 --with-tune=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.7.1 20120723 [gcc-4_7-branch revision 189773] (SUSE Linux)


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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
  2011-10-09 13:37 ` [Bug c++/15272] lookup, dependent base bangerth at gmail dot com
  2013-01-22  7:54 ` gcc-bugs at tesarici dot cz
@ 2013-04-16 21:08 ` redi at gcc dot gnu.org
  2013-05-19 20:33 ` paolo.carlini at oracle dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu.org @ 2013-04-16 21:08 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-04-16 21:08:40 UTC ---
Jason, we apparently still do lookup in dependent bases inside virtual
functions.


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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-04-16 21:08 ` redi at gcc dot gnu.org
@ 2013-05-19 20:33 ` paolo.carlini at oracle dot com
  2014-11-24 23:45 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-19 20:33 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|gcc-bugs at gcc dot gnu.org        |
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #10 from Paolo Carlini <paolo.carlini at oracle dot com> ---
It seems that when in instantiate_class_template_1 the base classes are
tsubst-ed the information about BINFO_DEPENDENT_BASE_P gets lost.


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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-05-19 20:33 ` paolo.carlini at oracle dot com
@ 2014-11-24 23:45 ` redi at gcc dot gnu.org
  2014-11-25  8:47 ` paolo.carlini at oracle dot com
  2021-08-23  0:47 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 14+ messages in thread
From: redi at gcc dot gnu.org @ 2014-11-24 23:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15272

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Paolo, did you manage to make any progress on this?


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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-11-24 23:45 ` redi at gcc dot gnu.org
@ 2014-11-25  8:47 ` paolo.carlini at oracle dot com
  2021-08-23  0:47 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 14+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-11-25  8:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15272

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|paolo.carlini at oracle dot com    |unassigned at gcc dot gnu.org

--- Comment #12 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Nope, sorry, I told Jason a few days ago.


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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-11-25  8:47 ` paolo.carlini at oracle dot com
@ 2021-08-23  0:47 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-23  0:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15272

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0

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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-7190@http.gcc.gnu.org/bugzilla/>
  2006-12-11  8:10 ` pinskia at gcc dot gnu dot org
@ 2009-04-16 20:38 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-16 20:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2009-04-16 20:38 -------
*** Bug 39541 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anubhav dot saxena at wipro
                   |                            |dot com


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


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

* [Bug c++/15272] lookup, dependent base
       [not found] <bug-15272-7190@http.gcc.gnu.org/bugzilla/>
@ 2006-12-11  8:10 ` pinskia at gcc dot gnu dot org
  2009-04-16 20:38 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-11  8:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-12-11 08:09 -------
*** Bug 30144 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s__nakayama at infoseek dot
                   |                            |jp


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


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

* [Bug c++/15272] lookup, dependent base
  2004-05-03 22:29 [Bug c++/15272] New: " belz at kolumbus dot fi
                   ` (3 preceding siblings ...)
  2004-08-03  1:47 ` pinskia at gcc dot gnu dot org
@ 2005-07-21  4:51 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-21  4:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 15272 depends on bug 2922, which changed state.

Bug 2922 Summary: [DR 197] two-stage lookup for unqualified function calls with type-dependent arguments
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2922

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug c++/15272] lookup, dependent base
  2004-05-03 22:29 [Bug c++/15272] New: " belz at kolumbus dot fi
                   ` (2 preceding siblings ...)
  2004-05-04 11:37 ` belz at kolumbus dot fi
@ 2004-08-03  1:47 ` pinskia at gcc dot gnu dot org
  2005-07-21  4:51 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-03  1:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-03 01:47 -------
And this looks related to PR 2922 also.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |2922


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


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

* [Bug c++/15272] lookup, dependent base
  2004-05-03 22:29 [Bug c++/15272] New: " belz at kolumbus dot fi
  2004-05-03 22:57 ` [Bug c++/15272] " pinskia at gcc dot gnu dot org
  2004-05-04  2:07 ` bangerth at dealii dot org
@ 2004-05-04 11:37 ` belz at kolumbus dot fi
  2004-08-03  1:47 ` pinskia at gcc dot gnu dot org
  2005-07-21  4:51 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 14+ messages in thread
From: belz at kolumbus dot fi @ 2004-05-04 11:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belz at kolumbus dot fi  2004-05-04 11:37 -------
Yes, the error message was my fault.. had some problems pasting and pasted it 
twice, seems i was not careful enough to correct it.

-- 


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


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

* [Bug c++/15272] lookup, dependent base
  2004-05-03 22:29 [Bug c++/15272] New: " belz at kolumbus dot fi
  2004-05-03 22:57 ` [Bug c++/15272] " pinskia at gcc dot gnu dot org
@ 2004-05-04  2:07 ` bangerth at dealii dot org
  2004-05-04 11:37 ` belz at kolumbus dot fi
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 14+ messages in thread
From: bangerth at dealii dot org @ 2004-05-04  2:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-05-04 02:07 -------
Confirmed.  
 
BTW, even though the last line of the error message in the original report 
seems mangled, this must have been a copy-pasto on behalf of the reporter, 
since I can't reproduce that part. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-04 02:07:35
               date|                            |


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


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

* [Bug c++/15272] lookup, dependent base
  2004-05-03 22:29 [Bug c++/15272] New: " belz at kolumbus dot fi
@ 2004-05-03 22:57 ` pinskia at gcc dot gnu dot org
  2004-05-04  2:07 ` bangerth at dealii dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-03 22:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-03 22:57 -------
I think this is a dup of bug 5660.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, rejects-
                   |                            |valid


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


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

end of thread, other threads:[~2021-08-23  0:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15272-4@http.gcc.gnu.org/bugzilla/>
2011-10-09 13:37 ` [Bug c++/15272] lookup, dependent base bangerth at gmail dot com
2013-01-22  7:54 ` gcc-bugs at tesarici dot cz
2013-04-16 21:08 ` redi at gcc dot gnu.org
2013-05-19 20:33 ` paolo.carlini at oracle dot com
2014-11-24 23:45 ` redi at gcc dot gnu.org
2014-11-25  8:47 ` paolo.carlini at oracle dot com
2021-08-23  0:47 ` pinskia at gcc dot gnu.org
     [not found] <bug-15272-7190@http.gcc.gnu.org/bugzilla/>
2006-12-11  8:10 ` pinskia at gcc dot gnu dot org
2009-04-16 20:38 ` pinskia at gcc dot gnu dot org
2004-05-03 22:29 [Bug c++/15272] New: " belz at kolumbus dot fi
2004-05-03 22:57 ` [Bug c++/15272] " pinskia at gcc dot gnu dot org
2004-05-04  2:07 ` bangerth at dealii dot org
2004-05-04 11:37 ` belz at kolumbus dot fi
2004-08-03  1:47 ` pinskia at gcc dot gnu dot org
2005-07-21  4:51 ` 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).