Fix ubsan tests on ARM (PR testsuite/66046)

2015-05-07 Thread Marek Polacek
Trailing \[^\n\r]*(\n|\r\n|\r) in the last dg-output aroused dismay on ARM. Here's a patch to clean this up; can you please test this on ARM? make check-g{cc,++} RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} ubsan.exp' passes on x86_64-linux. 2015-05-07 Marek Polacek pola...@redhat.com

Re: Fix ubsan tests on ARM (PR testsuite/66046)

2015-05-07 Thread Jakub Jelinek
On Thu, May 07, 2015 at 05:35:30PM +0300, Maxim Ostapenko wrote: This works fine for me on target ARM board, thanks for fixing this! -Maxim On 07/05/15 13:41, Marek Polacek wrote: Trailing \[^\n\r]*(\n|\r\n|\r) in the last dg-output aroused dismay on ARM. Here's a patch to clean this up;

Re: Fix ubsan tests on ARM (PR testsuite/66046)

2015-05-07 Thread Maxim Ostapenko
This works fine for me on target ARM board, thanks for fixing this! -Maxim On 07/05/15 13:41, Marek Polacek wrote: Trailing \[^\n\r]*(\n|\r\n|\r) in the last dg-output aroused dismay on ARM. Here's a patch to clean this up; can you please test this on ARM? make check-g{cc,++}