Subject: Re: bug#21124: 'invalid-mb-seq-UMR' test fails

From: Jim Meyering <[email-masked]>
Date: Mon, 27 Jul 2015 22:31:21 -0700

On Thu, Jul 23, 2015 at 2:47 PM, Assaf Gordon <[email-masked]> wrote:
> With sed from git (4.2.2.89-e387), I get one test failure in
> 'invalid-mb-seq-UMR' (log attached).
>
> The error seem to be:
> ===
> +valgrind --quiet --error-exitcode=1 sed -e 's/a/b\U\xb2c/' in
> [...]
> + compare_ exp out
> + diff -u exp out
> --- exp 2015-07-23 17:42:41.144358380 -0400
> +++ out 2015-07-23 17:42:41.780358374 -0400
> @@ -1 +1 @@
> -bC
> +b<FF>C
> ===

Hi Assaf,
Thank you for the report.
What versions of valgrind and gcc are you using -- and what type of system?
On a fedora rawhide system with the following valgrind and gcc
versions, that test passes for me:

  valgrind-3.10.1
  gcc version 6.0.0 20150727 (experimental) (GCC)

I confirmed that it also passed with stock gcc:

  gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)