From: "Søren Holm" <sgh@sgh.dk>
To: gcc@gcc.gnu.org
Subject: Bisected failure
Date: Sat, 19 Feb 2022 18:11:26 +0100 [thread overview]
Message-ID: <9ec86f65-50dd-6780-936e-a849598911e1@sgh.dk> (raw)
Hi
My application running on a stm32f7 started to behave "random" when
compiled with gcc 10.1 - Gcc 9.x works fine.
By random I mean this.
1. Flash the application onto the target.
2. reset - the application starts up fine
2. reset again - the application somehow goes haywire during startup
effectively starting over with out a reset. That ends up leaving
interrups and timers enabled fireing during BSS clear.
3. Reset again - now the application starts up fine again.
4. reset again - lockup again
5. reset again - lockup again
6 .......
I have bisected and verified that whatever makes my
commit 79f1d8521882de51480866fd7037199d670316bd (HEAD, refs/bisect/bad)
Author: Jan Hubicka <hubicka@ucw.cz>
Date: Thu Nov 14 14:30:46 2019 +0100
* params.opt (max-inline-insns-single-O2): Set to 70 (instead of 30).
From-SVN: r278221
Do you have any ideas to how to hunt down this bug? Besides trying to
isolate the place where things go wrong. I'm unsure if GCC does
something that the hardware does not like or my application is buggy. In
any case I'd like to figure out the root cause. I do not like to be
stuck at gcc 9 because of these kinds of issues :)
I'd appreciate any input you might have.
/Søren
next reply other threads:[~2022-02-19 17:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-19 17:11 Søren Holm [this message]
2022-02-20 10:34 ` Søren Holm
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=9ec86f65-50dd-6780-936e-a849598911e1@sgh.dk \
--to=sgh@sgh.dk \
--cc=gcc@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).