test for excess errors

paladin tripathi paladin.tripathi@gmail.com
Mon Aug 16 11:38:00 GMT 2010


Hi All,

I am trying to test gcc testsuite on target in some test cases i am
getting the following logs

Executing on host: arm-none-linux-gnueabi-gcc
./gcc.dg/Wpointer-sign-Wall.c   -Wall -S  -o Wpointer-sign-Wall.s
(timeout = 300)
pid is 15130 -15130
./gcc.dg/Wpointer-sign-Wall.c: In function 'bar':
./gcc.dg/Wpointer-sign-Wall.c:9: warning: pointer targets in passing
argument 1 of 'foo' differ in signedness
./gcc.dg/Wpointer-sign-Wall.c:5: note: expected 'long unsigned int *'
but argument is of type 'long int *'
output is ./gcc.dg/Wpointer-sign-Wall.c: In function 'bar':
./gcc.dg/Wpointer-sign-Wall.c:9: warning: pointer targets in passing
argument 1 of 'foo' differ in signedness
./gcc.dg/Wpointer-sign-Wall.c:5: note: expected 'long unsigned int *'
but argument is of type 'long int *'

 output is:
./gcc.dg/Wpointer-sign-Wall.c: In function 'bar':
./gcc.dg/Wpointer-sign-Wall.c:9: warning: pointer targets in passing
argument 1 of 'foo' differ in signedness
./gcc.dg/Wpointer-sign-Wall.c:5: note: expected 'long unsigned int *'
but argument is of type 'long int *'

PASS: gcc.dg/Wpointer-sign-Wall.c  (test for warnings, line 9)
FAIL: gcc.dg/Wpointer-sign-Wall.c (test for excess errors)


Could some one explain me what is this "test for excess errors"
is this run time error or compile time error

Thanks
Akhilesh



More information about the Gcc-help mailing list