From: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
To: David Malcolm <dmalcolm@redhat.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [pushed] analyzer: fix ICE in text art strings support
Date: Thu, 31 Aug 2023 20:18:46 +0530 [thread overview]
Message-ID: <CAAgBjM=YphmKZaZqeaQ78H=mMRetoYPANE=boJ04H9aCp=36bA@mail.gmail.com> (raw)
In-Reply-To: <b69dc7814294b73e9b4c4b36779116d534f5bfbe.camel@redhat.com>
On Wed, 30 Aug 2023 at 19:20, David Malcolm <dmalcolm@redhat.com> wrote:
>
> On Wed, 2023-08-30 at 11:52 +0530, Prathamesh Kulkarni wrote:
> > On Wed, 30 Aug 2023 at 04:21, David Malcolm <dmalcolm@redhat.com>
> > wrote:
> > >
> > > On Tue, 2023-08-29 at 11:01 +0530, Prathamesh Kulkarni wrote:
> > > > On Fri, 25 Aug 2023 at 18:15, David Malcolm via Gcc-patches
> > > > <gcc-patches@gcc.gnu.org> wrote:
> > > > >
> > > > > Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
> > > > > Pushed to trunk as r14-3481-g99a3fcb8ff0bf2.
> > > > Hi David,
> > > > It seems the new tests FAIL on arm for LTO bootstrap config:
> > > > https://ci.linaro.org/job/tcwg_bootstrap_check--master-arm-check_bootstrap_lto-build/263/artifact/artifacts/06-check_regression/fails.sum/*view*/
> > >
> > > Sorry about this.
> > >
> > > Looking at e.g. the console.log.xz, I just see the status of the
> > > failing tests.
> > >
> > > Is there an easy way to get at the stderr from the tests without
> > > rerunning this?
> > >
> > > Otherwise, I'd appreciate help with reproducing this.
> > Hi David,
> > I have attached make check log for the failing tests.
> > To reproduce, I configured and built gcc with following options on
> > armv8 machine:
> > ../gcc/configure --enable-languages=c,c++,fortran --with-float=hard
> > --with-fpu=neon-fp-armv8 --with-mode=thumb --with-arch=armv8-a
> > --disable-werror --with-build-config=bootstrap-lto
> > make -j$(nproc)
>
> Thanks.
>
> Looks a lot like PR analyzer/110483, which I'm working on now (sorry!)
>
> What's the endianness of the host?
Little endian. It was built natively (host == target) on
armv8l-unknown-linux-gnueabihf.
>
>
> Specifically, the pertinent part of the log is:
>
> FAIL: gcc.dg/analyzer/out-of-bounds-diagram-17.c (test for excess errors)
> Excess errors:
> ┌─────┬─────┬────┬────┬────┐┌─────┬─────┬─────┐
> │ [1] │ [1] │[1] │[1] │[1] ││ [1] │ [1] │ [1] │
> ├─────┼─────┼────┼────┼────┤├─────┼─────┼─────┤
> │ ' ' │ 'w' │'o' │'r' │'l' ││ 'd' │ '!' │ NUL │
> ├─────┴─────┴────┴────┴────┴┴─────┴─────┴─────┤
> │ string literal (type: 'char[8]') │
> └─────────────────────────────────────────────┘
> │ │ │ │ │ │ │ │
> │ │ │ │ │ │ │ │
> v v v v v v v v
> ┌─────┬────────────────────────────────────────┬────┐┌─────────────────┐
> │ [0] │ ... │[9] ││ │
> ├─────┴────────────────────────────────────────┴────┤│after valid range│
> │ 'buf' (type: 'char[10]') ││ │
> └───────────────────────────────────────────────────┘└─────────────────┘
> ├─────────────────────────┬─────────────────────────┤├────────┬────────┤
> │ │
> ╭─────────┴────────╮ ╭─────────┴─────────╮
> │capacity: 10 bytes│ │overflow of 3 bytes│
> ╰──────────────────╯ ╰───────────────────╯
>
> where the issue seems to be all those [1], which are meant to be index
> [0], [1], [2], etc.
Oh OK, thanks for the clarification!
Thanks,
Prathamesh
>
>
> Dave
prev parent reply other threads:[~2023-08-31 14:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 12:44 David Malcolm
2023-08-29 5:31 ` Prathamesh Kulkarni
2023-08-29 22:51 ` David Malcolm
2023-08-30 6:22 ` Prathamesh Kulkarni
2023-08-30 13:50 ` David Malcolm
2023-08-31 14:48 ` Prathamesh Kulkarni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAgBjM=YphmKZaZqeaQ78H=mMRetoYPANE=boJ04H9aCp=36bA@mail.gmail.com' \
--to=prathamesh.kulkarni@linaro.org \
--cc=dmalcolm@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).