This is the mail archive of the gcc-bugs@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: bootstrap/9631: [hppa64-unknown-linux-gnu] [gcc-3.2.2] fails to bootstrap


> Ok. Would you please send us a preprocessed source reproducing the bug

oh, actually here's a very simple test case:

tausq@gsyprf11:~/build/build-3.3/gcc$ cat bug.c
struct SjLj_Function_Context { unsigned data[4]; };

tausq@gsyprf11:~/build/build-3.3/gcc$ ./xgcc -v
Using built-in specs.
Configured with: ../gcc-3.3/configure --enable-languages=c --prefix=/opt/palinux --disable-shared --disable-nls --with-system-zlib --without-included-gettext --enable-debug --host=hppa-linux --build=hppa-linux --target=hppa64-linux --enable-sjlj-exceptions --disable-threads
Thread model: single
gcc version 3.3

tausq@gsyprf11:~/build/build-3.3/gcc$ ./xgcc -B. -c bug.c
bug.c:1: error: size of array `data' is too large

fwiw i see that this message is printed by two places in
grokdeclarator()... adding a printf i see that it's dying in the one at
line 4070.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


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