This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14278] [3.4/3.5 Regression] fails when calling through a function pointer
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2004 20:15:30 -0000
- Subject: [Bug c++/14278] [3.4/3.5 Regression] fails when calling through a function pointer
- References: <20040224185813.14278.jbrandmeyer@earthlink.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-02-24 20:15 -------
Here's something smaller:
----------------------
struct S {};
struct X {
X(S* p);
};
struct A {
A(X);
};
void *p_fun;
A ret(X ((*(S* (*)(int, int)) p_fun)(0, 0)));
------------------
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14278