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 Message-ID: <42C3A474.1000908@x-ray.at> Date: Thu, 30 Jun 2005 09:51:16 +0200 From: Reini Urban 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 Subject: Re: gcc bug: convert_move -O3 References: <42C3A0F8 DOT 10906 AT x-ray DOT at> In-Reply-To: <42C3A0F8.10906@x-ray.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/