This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SVE] PR86753
- From: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>
- To: Matthew Malcomson <Matthew dot Malcomson at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <Richard dot Sandiford at arm dot com>, Richard Biener <richard dot guenther at gmail dot com>, nd <nd at arm dot com>
- Date: Wed, 11 Sep 2019 03:05:39 +0530
- Subject: Re: [SVE] PR86753
- References: <CAAgBjMnTn_3hiTxFPW-=QBp3=Pq0oCx1OhUbdRKwN9bWkGQ_UQ@mail.gmail.com> <CAAgBjMntcR5nBs96aD6_FJPGSjiCJVGsbGEk_WBxhrhgPAOQBA@mail.gmail.com> <CAFiYyc10BkstnK2f6X91S3JGZUX5QDz5zF_WDEiJdLxRRFEvwQ@mail.gmail.com> <CAAgBjM=0MN8j_uC2pp7+S6C2BfQArvtW6u2WDug2pEA4hUAzmw@mail.gmail.com> <mptblwbszdr.fsf@arm.com> <CAFiYyc2YRrjG3onU9BuEFvYCy6Mo=o=9XPdSNFEaswebV0xe_A@mail.gmail.com> <mpt8srests5.fsf@arm.com> <CAAgBjM=oZjX18-DkRXxPpU0U2Yx3iJwL0NkPN91L52yg4b7PSg@mail.gmail.com> <mpt1rx6r4tz.fsf@arm.com> <CAAgBjMkL7LKekotcEFzDPej-wvoOAZ+e4EF1J_1qyYWs_B1RsA@mail.gmail.com> <mpt1rx5psqw.fsf@arm.com> <CAFiYyc3FJMy67yFfkBaJuKXuKFrsBOAM3EVn+GSYARYbarHuQg@mail.gmail.com> <mpt7e6nce43.fsf@arm.com> <CAAgBjM=BNtAkcj__EhBWqd5FYZgQJiMO_gR4aq49ixdE=_aAJQ@mail.gmail.com> <mpth85laffc.fsf@arm.com> <CAAgBjM=XJ0J9XAARUdX=EFLw67+BOo6ogTQjZuYP-0ryd2+uCQ@mail.gmail.com> <CAAgBjMnNEG5jyV4XARPCiCWOfLXwROr4YOnnK8ysx4Xn_-n0_Q@mail.gmail.com> <90a0dbe5-7bfc-f03c-d67b-41f82d667914@arm.com>
On Tue, 10 Sep 2019 at 19:05, Matthew Malcomson
<Matthew.Malcomson@arm.com> wrote:
>
> Resending because I forgot to avoid the disclaimer and hence my email
> didn't go to the gcc-patches list.
>
>
>
> On 09/09/19 21:55, Prathamesh Kulkarni wrote:
> > On Mon, 9 Sep 2019 at 22:06, Prathamesh Kulkarni
> > <prathamesh.kulkarni@linaro.org> wrote:
> >>
> >> On Mon, 9 Sep 2019 at 16:45, Richard Sandiford
> >> <richard.sandiford@arm.com> wrote:
> >>>
> >>>
> >>> Thanks for doing this.
> >> Thanks for the suggestions, I have updated the patch accordingly.
> >> Boostrap+test in progress on x86_64-unknown-linux-gnu and aarch64-linux-gnu.
> >> Richi, does the patch look OK to you ?
> > Hi,
> > Bootstrap+test passes for x86_64-unknown-linux-gnu and aarch64-linux-gnu.
> > On x86_64, there's a "strange" failure of c-c++-common/builtins.c, log shows:
> >
> > /home/prathamesh.kulkarni/gnu-toolchain/gcc/pr86753-v2-3/gcc/gcc/test
> > FAIL: c-c++-common/builtins.c -Wc++-compat (test for excess errors)
> > Excess errors:
> > /home/prathamesh.kulkarni/gnu-toolchain/gcc/pr86753-v2-3/gcc/gcc/test
> >
>
> Just FYI I have seen this error come from a restriction in DejaGNU itself.
> https://gcc.gnu.org/ml/gcc/2019-05/msg00066.html
>
> The reply to that email mentions that this restriction was removed in
> later DejaGNU versions.
> https://gcc.gnu.org/ml/gcc/2019-05/msg00070.html
>
> If you see the snippet mentioned in the first email (don't continue if
> you've already read greater than 512000 bytes of output) in your DejaGNU
> install (remote.exp file), and the error messages from the
> "-Wc++-compat" test are greater than 512000 bytes then it's likely the
> problem is because of DejaGNU rather than your code.
>
> If that is the case, then a test is to remove the `if` mentioned in the
> first email and re-trying the regression test.
>
> (i.e. replace
>
> if { [string length $output] < 512000 } {
> exp_continue -continue_timer
> }
>
> with
>
> exp_continue -continue_timer
>
> in the "local_exec" procedure from $DEJAGNU_INSTALL/remote.exp)
>
>
> > Which shouldn't really happen since the test doesn't seem relevant to patch,
> > and only passes -O2 which shouldn't enable the vectorizer ? Manually
> > testing it results in PASS with:
> > make check-gcc RUNTESTFLAGS="dg.exp=builtins.c"
> > Would it be OK to ignore the FAIL during reg-test ?
> >
>
> This also matches the symptoms of this DejaGNU restriction -- it only
> comes up when the OS read returned not all the output from the test, and
> that happens a lot more when there are many parallel tests running.
Hi Matthew,
Thanks for the clarification! I had started another bootstrap+regtest
before reading your
mail, and this time there were no FAIL's, so I assume the FAIL in
previous regtest, was due the
dejaGNU issue you mentioned.
Thanks,
Prathamesh
>
> > Thanks,
> > Prathamesh
> >>
> >> Thanks,
> >> Prathamesh
> >>>
> >>> Richard
>