[Bug c++/13092] [3.4 regression] Segfault in convert_nontype_argument
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Tue Nov 18 08:53:00 GMT 2003
------- 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
More information about the Gcc-bugs
mailing list