This is the mail archive of the gcc-help@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]

test for excess errors


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


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