This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45382] internal compiler error: tree code ‘call_expr’ is not supported in gimple streams
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2010 10:16:33 -0000
- Subject: [Bug c++/45382] internal compiler error: tree code ‘call_expr’ is not supported in gimple streams
- References: <bug-45382-17255@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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