[Bug c++/45382] internal compiler error: tree code ‘call_expr’ is not supported in gimple streams

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 23 10:16:00 GMT 2010



------- Comment #3 from jakub at gcc dot gnu dot org  2010-08-23 10:16 -------
As can be seen in
inline unsigned long foo () { return 4; }
struct S { S (); };
void bar () { typedef int T[foo () == 4 ? 1 : -1]; }
S::S () { typedef int T[foo () == 4 ? 1 : -1]; }
the problem only happens in cdtors, thus probably related to the cdtor
duplication.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45382



More information about the Gcc-bugs mailing list