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: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2003 08:53:38 -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 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