ubsan and Dejagnu not having a big enough buffer in some cases
Richard Biener
richard.guenther@gmail.com
Wed Jul 20 06:05:00 GMT 2016
On July 20, 2016 2:01:18 AM GMT+02:00, Andrew Pinski <pinskia@gmail.com> wrote:
>Hi,
> I noticed that ubsan testsuite sometimes has failures due to dejagnu
>buffer gets full and we no longer match on the output any more.
>As you can see from the .log file:
>/data1/jenkins/workspace/BuildThunderX_native_gcc_6/gcc/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-1.c:88:3:
>runtime error: value iPASS: c-c++-common/ubsan/float-cast-overflow-1.c
> -O0 execution test
>
>This looks like I am using a much bigger path name than what most
>people use which is why I am seeing it fail. Is there a way to
>increase the buffer for dejagnu/expect so dg-output matches? Looks
>like it is limited to 500k (if I read dejagnu code correctly).
>
>Or can/should we split up float-cast-overflow-1.c instead?
I see this for some of the larger C frontend tests with lots of expected errors/warnings as well.
Richard.
>
>Thanks,
>Andrew Pinski
More information about the Gcc
mailing list