[Patch] Fix UBSan tests for arm-linux-gnueabi.

Maxim Ostapenko m.ostapenko@partner.samsung.com
Thu Jul 17 09:46:00 GMT 2014


Hi,

I see regressions in some UBSan output pattern tests (bounds-2.c and 
some others) on arm-linux-gnueabi if we use ssh to deliver executables 
to remote target. After some investigation, I discovered, that Dejagnu 
deletes trailing '\n' symbol from output message in this case. My patch 
removes trailing newlines from these tests.

Regested on x86_64-unknown-linux-gnu and arm-linux-gnueabi.

Ok to commit?

-Maxim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubsan_tests_fix.diff
Type: text/x-patch
Size: 14272 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140717/fc8a1c2e/attachment.bin>


More information about the Gcc-patches mailing list