[Bug c++/14278] [3.4/3.5 Regression] fails when calling through a function pointer
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Thu Feb 26 19:59:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list