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 giovannibajo at libero dot it  2003-11-18 08:53 -------
We segfault because the SCOPE_REF &S::i does not have a type computed at the 
time convert_nontype_argument is called. 

I tried to change build_scope_ref so that it does creat SCOPE_REFs only for 
type-dependent expressions, and rework create_nontype_argument accordingly, but 
with no luck.

Mark, there are two patches of yours in those days affecting non-dependent 
SCOPE_REFs, and a few days later you reworked totally the pointer-to-members. 
Notice that this is failure caught by g++.dg/template/ptrmem7.C, which I 
recently added to the mainline, so we don't need another testcase.

If you give me a hint where to look, I can try fixing this myself.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org


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]