From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: John Scott <jscott@posteo.net>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Help with bisecting a test suite regression in GCC
Date: Sun, 27 Mar 2022 07:41:25 +0000 [thread overview]
Message-ID: <CAH6eHdSU-aPzSOVCD1MBfYw4=B5n3XL_sb+RX-g44EO=u+PQZg@mail.gmail.com> (raw)
In-Reply-To: <11cb0554516ea651ca9d668d5748786ab675acef.camel@posteo.net>
On Sat, 26 Mar 2022 at 22:42, John Scott via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Hi,
>
> While working on upgrading the gcc-sh-elf Debian package from gcc 11 to
> gcc 12, I think I've found a regression. I'm able to reproduce it with
> an upstream bare-metal build.
>
> I've had a hard time figuring out how to bisect it. A naive run with
> git bisect start
> git bisect new .
"." is not a tag or commit revision. I don't know what this does.
> git bisect old releases/gcc-11.2.0
This tag is on the gcc-11 branch, which is not in the history of gcc-12.
I think what you want is:
git bisect start
git bisect new master
git bisect old `git merge-base releases/gcc-11.2.0 master`
This will bisect between the point where the gcc-11 branch was created
and the current head of master.
>
> fails with
> The merge base 250f234988b6231669a720c52101d3686d645072 is new.
> The property has changed between 250f234988b6231669a720c52101d3686d645072 and [7ca388565af176bd4efd4f8db1e5e9e11e98ef45].
> error: bisect run failed: 'git bisect--helper --bisect-state (null)' exited with error code -3
>
> I'm not enough of a Git or GCC wizard to get further. Does anyone have
> any advice so I can make an informative bug report?
prev parent reply other threads:[~2022-03-27 7:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-26 22:41 John Scott
2022-03-27 4:53 ` Jeff Law
2022-03-27 7:41 ` Jonathan Wakely [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='CAH6eHdSU-aPzSOVCD1MBfYw4=B5n3XL_sb+RX-g44EO=u+PQZg@mail.gmail.com' \
--to=jwakely.gcc@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=jscott@posteo.net \
/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).