This is the mail archive of the
mailing list for the GCC project.
Re: [committed] Handle targets with 2 byte wchar_t better in strlenopt-58.c
- From: Jeff Law <law at redhat dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 5 Dec 2018 12:13:33 -0700
- Subject: Re: [committed] Handle targets with 2 byte wchar_t better in strlenopt-58.c
- References: <CAGWvnykVXRmtpw6vDVeSv_VVnoTFVvCRgQGA29Lto2h2mqAUGw@mail.gmail.com>
On 12/5/18 11:59 AM, David Edelsohn wrote:
> Thanks for the patch.
> I continue to see a failure on AIX 32 bit mode (2 byte wchar).
> FAIL: gcc.dg/strlenopt-58.c scan-tree-dump-times optimized
> "call_in_true_branch_not_eliminated" 0
> I'm not certain if this is AIX-specific or more fallout from wchar
> size. I could ignore with target powerpc-ibm-aix* or with target !
> Any further insight / preference?
I didn't try to address that specific failure yet -- my patch just fixed
two earlier warnings.
That specific failure either requires a deeper testsuite fix for
possibly even a fix to the compiler -- I haven't really analyzed it yet
(it's a failure to optimize issue and I've generally avoided looking at
You could xfail it on 4byte_wchar_t.