This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: gcc bug: convert_move -O3


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.

Brian

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


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