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++/13092] [3.4 regression] Segfault in convert_nontype_argument


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


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