------- Comment #4 from rob1weld at aol dot com  2009-03-30 23:35 -------
I ran into this Bug on the Trunk for Platform x64_86-unknown-openbsd4.5 .


I tried the test "C" code from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25255#c1
and got this:

/home/user/gcc_build/test_gcc_2.c:18: error: initializer for
integer/fixed-point value is too complicated
/home/user/gcc_build/test_gcc_2.c:18: error: initializer for
integer/fixed-point value is too complicated


This error does not occur with gcc version 3.3.5 on:
# uname -a
OpenBSD openbsd.localdomain 4.5 GENERIC#5 amd64


# gcc/xgcc -v
Using built-in specs.
Target: amd64-unknown-openbsd4.5
Configured with: /usr/src/gcc_trunk/configure --prefix=/home/user/gcc_installed
--target=amd64-unknown-openbsd4.5 --enable-languages=c,c++ --disable-multilib
--enable-threads=posix --enable-static --enable-shared --with-gnu-ld
--with-gnu-as --with-long-double-128 --disable-stage1-checking
--enable-checking=release --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.5.0 20090330 (experimental) [trunk revision 145313] (GCC)


# gmake
...
/usr/src/gcc_trunk/libgcc/../gcc/unwind-dw2-fde.c:848: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/home/user/gcc_build/./gcc/xgcc -B/home/user/gcc_build/./gcc/
-B/home/user/gcc_installed/amd64-unknown-openbsd4.5/bin/
-B/home/user/gcc_installed/amd64-unknown-openbsd4.5/lib/ -isystem
/home/user/gcc_installed/amd64-unknown-openbsd4.5/include -isystem
/home/user/gcc_installed/amd64-unknown-openbsd4.5/sys-include -g -O2 -O2  -g
-O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition  -isystem ./include 
-fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../.././gcc -I/usr/src/gcc_trunk/libgcc -I/usr/src/gcc_trunk/libgcc/.
-I/usr/src/gcc_trunk/libgcc/../gcc -I/usr/src/gcc_trunk/libgcc/../include 
-DHAVE_CC_TLS -o unwind-sjlj.o -MT unwind-sjlj.o -MD -MP -MF unwind-sjlj.dep
-fexceptions -c /usr/src/gcc_trunk/libgcc/../gcc/unwind-sjlj.c
/home/user/gcc_build/./gcc/xgcc -B/home/user/gcc_build/./gcc/
-B/home/user/gcc_installed/amd64-unknown-openbsd4.5/bin/
-B/home/user/gcc_installed/amd64-unknown-openbsd4.5/lib/ -isystem
/home/user/gcc_installed/amd64-unknown-openbsd4.5/include -isystem
/home/user/gcc_installed/amd64-unknown-openbsd4.5/sys-include -g -O2 -O2  -g
-O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition  -isystem ./include 
-fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../.././gcc -I/usr/src/gcc_trunk/libgcc -I/usr/src/gcc_trunk/libgcc/.
-I/usr/src/gcc_trunk/libgcc/../gcc -I/usr/src/gcc_trunk/libgcc/../include 
-DHAVE_CC_TLS -o gthr-gnat.o -MT gthr-gnat.o -MD -MP -MF gthr-gnat.dep
-fexceptions -c /usr/src/gcc_trunk/libgcc/../gcc/gthr-gnat.c
/usr/src/gcc_trunk/libgcc/../gcc/gthr-gnat.c:87: error: initializer for
integer/fixed-point value is too complicated
/usr/src/gcc_trunk/libgcc/../gcc/gthr-gnat.c:87: error: initializer for
integer/fixed-point value is too complicated
gmake[3]: *** [gthr-gnat.o] Error 1
gmake[3]: Leaving directory
`/home/user/gcc_build/amd64-unknown-openbsd4.5/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/home/user/gcc_build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/home/user/gcc_build'
gmake: *** [all] Error 2


Thanks,
Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25255

Reply via email to