Mail Archives: cygwin/2005/06/30/03:51:35
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 -