------- Comment #9 from aldot at gcc dot gnu dot org 2008-01-31 15:18 ------- (In reply to comment #7) > Fails with 4.1.2 for me as well, with the static. w/o 4.1 complains > > t1.c:5: error: '__gthrw_pthread_once' defined both normally and as an alias >
Works flawlessly for me (without the static, on debian with the debian-patched cc): $ gcc-4.1 pr35034-1.c pr35034-2.c -O0 -c -o foo.o -combine -pipe ; echo $? 0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35034