On Sat, 29 Jan 2022, 20:25 Søren Holm via Gcc, <gcc@gcc.gnu.org> wrote:

> Hi
>
> I believe I have found some kind of bug in GCC. The target is a
> cortex-m7 CPU. I do not have an isolated test software so I'm thinking
> of bisecting GCC between GCC 9.4 and 10.1.
>
> Are there any easy way do do a fast "change - compile - test"- cycle -
> and how do I do that? All the guide on building GCC is using huge
> scripts with installs and such. I'm sure the main developers does not do
> that.
>



https://gcc.gnu.org/wiki/InstallingGCC is not a huge script, it's a very
small number of commands.

You can use git bisect to simplify things, but if you don't have a small
reproducer for the problem then I don't see how you can avoid doing a full
build and install. With a simple reproducer, you can just great using the
cc1 or cc1plus binary in the build tree, without installing anything.



>
> Thanks
>
> Søren Holm
>
>

Reply via email to