[Bug c++/13642] Segmentation fault when calling a function template in a function template
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 11 07:41:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-11 07:41 -------
The code below is valid but this is a dup of bug 795 which is fixed for 3.4.
The work around is to do the following for f2:
template<class T2>
void f2(){
a->template f3<T2>();
}
Can you try this workaround with your testcase and if it still does not work can you open a new bug
up and provide the preprocessed source?
*** This bug has been marked as a duplicate of 795 ***
*** This bug has been marked as a duplicate of 795 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |rejects-valid
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13642
More information about the Gcc-bugs
mailing list