This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14278] [3.4/3.5 Regression] fails when calling through a function pointer


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]