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++/69379] [6 Regression] ICE in fold_convert_loc, at fold-const.c:2366


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]