Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: gcc bug: convert_move -O3 Date: Thu, 30 Jun 2005 17:53:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <42C419B9.7A2C7255@dessent.net> Message-ID: ----Original Message---- >From: Brian Dessent >Sent: 30 June 2005 17:12 > 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. http://cygwin.com/ml/cygwin/2005-06/msg01221.html. http://cygwin.com/acronyms#YSHFRTT ! > In any case, this should not ICE so you should file a gcc PR. But 3.3.x branch is closed now, and the bug is fixed in 3.4.x, so there's really very little point. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/