[Bug libgomp/25910] bootstrap failure

2006-01-22 Thread aldot at gcc dot gnu dot org


--- Comment #1 from aldot at gcc dot gnu dot org  2006-01-22 14:04 ---
Created an attachment (id=10702)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10702action=view)
Mark arguments as unused.


-- 


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



[Bug libgomp/25910] bootstrap failure

2006-01-22 Thread aldot at gcc dot gnu dot org


--- Comment #2 from aldot at gcc dot gnu dot org  2006-01-22 14:06 ---
(In reply to comment #1)
 Created an attachment (id=10702)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10702action=view) [edit]
 Mark arguments as unused.
 

Now the bootstrap stops later on with:

/home/cow/obj.ia32/gcc/./gcc/xgcc -B/home/cow/obj.ia32/gcc/./gcc/
-B/opt/gcc-4.2//i686-linux-gnu/bin/ -B/opt/gcc-4.2//i686-linux-gnu/lib/
-isystem /opt/gcc-4.2//i686-linux-gnu/include -isystem
/opt/gcc-4.2//i686-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../../src/gcc-4.2/libgomp -I.
-I../../../../src/gcc-4.2/libgomp/config/linux/x86
-I../../../../src/gcc-4.2/libgomp/config/linux
-I../../../../src/gcc-4.2/libgomp/config/posix
-I../../../../src/gcc-4.2/libgomp -Wall -Werror -ftls-model=initial-exec
-march=i486 -pthread -mtune=i686 -O2 -W -Wall -Wextra -march=pentium4 -g -ggdb
-O0 -g -ggdb3 -mtune=pentium4 -MT iter.lo -MD -MP -MF .deps/iter.Tpo -c
../../../../src/gcc-4.2/libgomp/iter.c  -fPIC -DPIC -o .libs/iter.o
cc1: warnings being treated as errors
../../../../src/gcc-4.2/libgomp/iter.c: In function 'gomp_iter_static_next':
../../../../src/gcc-4.2/libgomp/iter.c:48: warning: comparison between signed
and unsigned
../../../../src/gcc-4.2/libgomp/iter.c: In function
'gomp_iter_guided_next_locked':
../../../../src/gcc-4.2/libgomp/iter.c:248: warning: comparison between signed
and unsigned
make[4]: *** [iter.lo] Error 1


-- 


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



[Bug libgomp/25910] bootstrap failure

2006-01-22 Thread aldot at gcc dot gnu dot org


--- Comment #3 from aldot at gcc dot gnu dot org  2006-01-22 15:46 ---
Created an attachment (id=10705)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10705action=view)
Probably improper patch to make it build somehow.

With this patch libgomp builds again for me. This patch is most likely not
accurate, so please fix proper.

In gomp_iter_dynamic_next() and gomp_iter_guided_next() i added a check for an
early return, which is of course not needed to fix the bootstrap failure.


-- 


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