[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] "make test" fails w/ gcc 3.3 and 3.4
From: |
Neil Conway |
Subject: |
[Tinycc-devel] "make test" fails w/ gcc 3.3 and 3.4 |
Date: |
Thu, 04 Mar 2004 17:32:23 -0500 |
User-agent: |
Mozilla Thunderbird 0.5 (X11/20040304) |
On my machine, the tcc test suite (tcctest.c) fails to compile using
gcc (which is the first thing that "make test" attempts). I can repro
this with both tcc 0.9.20 and current CVS HEAD sources.
$ ./configure ; make
[ ... ]
$ make test
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386
-falign-functions=0 -I. -o tcctest.ref tcctest.c
tcctest.c:266:5: warning: multi-line comment
tcctest.c: In function `string_test':
tcctest.c:308: warning: wint_t format, long int arg (arg 2)
tcctest.c:308: warning: wint_t format, long int arg (arg 4)
tcctest.c: In function `isid':
tcctest.c:634: warning: suggest parentheses around comparison in
operand of &
tcctest.c:634: warning: suggest parentheses around comparison in
operand of &
tcctest.c:634: warning: suggest parentheses around comparison in
operand of |
tcctest.c: In function `char_short_test':
tcctest.c:800: warning: dereferencing type-punned pointer will break
strict-aliasing rules
tcctest.c:800: warning: dereferencing type-punned pointer will break
strict-aliasing rules
tcctest.c:802: warning: dereferencing type-punned pointer will break
strict-aliasing rules
tcctest.c:802: warning: dereferencing type-punned pointer will break
strict-aliasing rules
tcctest.c:809: warning: dereferencing type-punned pointer will break
strict-aliasing rules
tcctest.c: At top level:
tcctest.c:964: warning: return type defaults to `int'
tcctest.c:974: warning: return type defaults to `int'
tcctest.c: In function `struct_assign_test':
tcctest.c:1022: warning: unused variable `lsta1'
tcctest.c: In function `cast_test':
tcctest.c:1076: warning: overflow in implicit constant conversion
tcctest.c:1084: warning: array subscript has type `char'
tcctest.c: At top level:
tcctest.c:1103: warning: braces around scalar initializer
tcctest.c:1103: warning: (near initialization for `sinit3[2]')
tcctest.c:1103: warning: braces around scalar initializer
tcctest.c:1103: warning: (near initialization for `sinit3[2]')
tcctest.c:1105: warning: missing braces around initializer
tcctest.c:1105: warning: (near initialization for `sinit5[0]')
tcctest.c:1129: warning: missing braces around initializer
tcctest.c:1129: warning: (near initialization for `sinit16[0].a')
tcctest.c:1135: warning: missing braces around initializer
tcctest.c:1135: warning: (near initialization for `sinit17[0]')
tcctest.c: In function `float_test':
tcctest.c:1391: warning: this decimal constant is unsigned only in ISO C90
tcctest.c:1394: warning: this decimal constant is unsigned only in ISO C90
tcctest.c:1372: warning: unused variable `fb'
tcctest.c: In function `longlong_test':
tcctest.c:1563: warning: integer constant is too large for "long" type
tcctest.c: In function `vprintf1':
tcctest.c:1630: warning: implicit declaration of function `putchar'
tcctest.c: In function `whitespace_test':
tcctest.c:1664: warning: implicit declaration of function `strlen'
tcctest.c:1664:32: missing terminating " character
tcctest.c:1665:1: missing terminating " character
tcctest.c:1667: error: parse error before "str"
tcctest.c:1667:11: missing terminating " character
tcctest.c:1668:1: missing terminating " character
tcctest.c:1671:32: missing terminating " character
tcctest.c:1672: error: parse error before "a"
tcctest.c:1673:1: missing terminating " character
tcctest.c:1678: error: `reltab' undeclared (first use in this function)
tcctest.c:1678: error: (Each undeclared identifier is reported only once
tcctest.c:1678: error: for each function it appears in.)
tcctest.c: In function `asm_test':
tcctest.c:1894: warning: integer constant is too large for "long" type
tcctest.c: In function `whitespace_test':
tcctest.c:1957: error: parse error at end of input
tcctest.c:1647: warning: unused variable `str'
tcctest.c:909: warning: `tab_reinit' defined but not used
make: *** [tcctest.ref] Error 1
This system is running Debian unstable on x86. Some system info:
$ uname -a
Linux tokyo 2.6.3 #1 Wed Feb 18 20:51:51 EST 2004 i686 GNU/Linux
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.3 (Debian)
("make test" still fails to build using a recent gcc 3.4 snapshot.)
-Neil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] "make test" fails w/ gcc 3.3 and 3.4,
Neil Conway <=