delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/30/03:51:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42C3A474.1000908@x-ray.at>
Date: Thu, 30 Jun 2005 09:51:16 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8b) Gecko/20050217
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: gcc bug: convert_move -O3
References: <42C3A0F8 DOT 10906 AT x-ray DOT at>
In-Reply-To: <42C3A0F8.10906@x-ray.at>
X-IsSubscribed: yes

oops.
Not yet tested for other gcc versions,
but I know that it worked for previous perl/gcc versions.
Maybe just that previous perls didn't use -O3

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs
Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr 
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/l
ib --libexecdir=/usr/lib --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc,
pascal --enable-nls --without-included-gettext --enable-libgcj 
--with-system-zlib --enable-interpreter --enable-threads=
posix --enable-java-gc=boehm --enable-sjlj-exceptions 
--disable-version-specific-runtime-libs --disable-win32-registry
Thread model: posix
gcc version 3.3.3 (cygwin special)

Reini Urban schrieb:
> easy reproducible testcase:
> 
> cat > gccO3bug.c
> 
> static int hack30_pray(ax, items, func)
> int ax;
> int items;
> void *func;
> {
>     return 0;
> }
> int main () {
>   int ax, items;
>   void * symref;
>   float num;
>   num = ((*((float (*)()) hack30_pray))(ax,items,symref));
>   return 0;
> }
> ^D
> 
> gcc -c -O3 gccO3bug.c
> internal compiler error: in convert_move, at expr.c:597
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019