980531 has bug in 5.2.10 area

David C Binderman dcb@pncl.co.uk
Wed Jun 3 14:21:00 GMT 1998


Hello there,

In the 980531 G++ test suite, file g++.jason/rfg20.C, egcs-980531
with flags -g -O -ansi -pedantic-errors compiles the file,
but should not, since my reading of ISO C++ 5.2.10 says that a
function pointer will not fit into a void * pointer.

Regards

David Binderman MSc BSc    +44 1293 534 847       dcb_AVOID_JUNK_MAIL@pncl.co.uk
There is no substitute for skill, taste and experience when programming
 - Dr Stroustrup, inventor of C++




More information about the Gcc-bugs mailing list