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: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2004 19:59: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 giovannibajo at libero dot it 2004-02-26 19:59 -------
Wolfgang,
I was not clear. I was saying that there is indeed a parse error (which is the
bug covered in this PR), but the testcase you proposed was invalid because of
the conversion issue (even if GCC doesn't currently enforce it, even for
straightforward "void* p; (void (*)(void))p;").
Your new testcase is of course valid C++, so now it's a rejects-valid by all
means.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14278