This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69379] [6 Regression] ICE in fold_convert_loc, at fold-const.c:2366
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Jan 2016 10:03:09 +0000
- Subject: [Bug c++/69379] [6 Regression] ICE in fold_convert_loc, at fold-const.c:2366
- Auto-submitted: auto-generated
- References: <bug-69379-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69379
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat DictDataInfoPyWrap.ii
typedef int Trans_NS___cxx11_string;
class A {
public:
template <class DerivedT> A(char *, DerivedT);
template <class Fn, class A1, class A2>
void m_fn1(char *, Fn, A1 const &, A2);
};
struct Dict {
void m_fn2();
};
void fn1() {
A a("", "");
typedef void *Get;
typedef void (Dict::*d)(Trans_NS___cxx11_string);
a.m_fn1("", Get(), d(&Dict::m_fn2), "");
}
markus@x4 tmp % g++ -w -c -Wformat DictDataInfoPyWrap.ii
DictDataInfoPyWrap.ii: In function âvoid fn1()â:
DictDataInfoPyWrap.ii:15:41: internal compiler error: in fold_convert_loc, at
fold-const.c:2366