gcc bug: convert_move -O3

Brian Dessent brian@dessent.net
Thu Jun 30 16:48:00 GMT 2005

Reini Urban wrote:

>    num = ((*((float (*)()) hack30_pray))(ax,items,symref));

I'm no language lawyer but this seems invalid.  I seem to recall
discussion on one of the gcc lists about trying to cast a function
pointer from one function signature to another, and how it was not
defined/supported.  The code here should cast the return value, not try
to cast the function itself.

In any case, this should not ICE so you should file a gcc PR.


Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list