This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13092] [3.4 regression] Segfault in convert_nontype_argument
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2003 14:25:25 -0000
- Subject: [Bug c++/13092] [3.4 regression] Segfault in convert_nontype_argument
- References: <20031117223716.13092.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-19 14:25 -------
You can look at the example in section 11.5. In that example,
&B::i and &D::i are really the same member but with different
access. If we resolve the name early, the scope (whether it is
'B' or 'D') information is lost. And in case of those qualified-id
in template, we cannot sure about its access until instantiation
time (like when the function 'fr' in the example is changed to a template,
and only some specialization is a friend class 'D2').
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13092