This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] PR c/19333


Steven Bosscher writes:
> Hi,
> 
> The attached patch is my shot at PR19333.  It is an ice-on-invalid
> code, where we would build arrays of elements with an incomplete type.
> The best discussion about the bug is in the thread with this message:
> http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00948.html.
> 
> Bootstrapped and tested on {i686,x86_64,ia64,ppc,ppc64}-suse-linux-gnu.
> OK?

at least the patch breaks the bootstrap on a Debian x86_64 system
a(glibc-2.3.2 based), reverting the patch lets the bootstrap
succeed. bootstrap compiler is gcc-3.3.5 CVS.

/xgcc -B./ -B/usr/lib/gcc-snapshot/x86_64-linux-gnu/bin/ -isystem
/usr/lib/gcc-snapshot/x86_64-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/x86_64-linux-gnu/sys-include
-L/home/packages/gcc/snap/gcc-snapshot-20050201/build/gcc/../ld -O2  -DIN_GCC  
 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../src/gcc -I../../src/gcc/.
-I../../src/gcc/../include -I../../src/gcc/../libcpp/include 
-fvisibility=hidden -DHIDE_EXPORTS -fexceptions -c ../../src/gcc/unwind-dw2.c -o
libgcc/./unwind-dw2.o
In file included from ../../src/gcc/gthr-posix.h:43,
                 from ./gthr-default.h:1,
                 from ../../src/gcc/gthr.h:114,
                 from ../../src/gcc/unwind-dw2.c:42:
/usr/include/pthread.h:655: error: array type has incomplete element type
make[5]: *** [libgcc/./unwind-dw2.o] Error 1
make[5]: Leaving directory `/home/packages/gcc/snap/gcc-snapshot-20050201/build/gcc'
make[4]: *** [stmp-multilib] Error 2
make[4]: Leaving directory `/home/packages/gcc/snap/gcc-snapshot-20050201/build/gcc'
make[3]: *** [stage1_build] Error 2


pthread.h:654: is
struct __jmp_buf_tag;
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]