On 7/2/24 7:57 AM, Richard Biener wrote:
On Tue, Jul 2, 2024 at 3:52 PM Georg-Johann Lay <a...@gjlay.de> wrote:

...just noticed that disabling -ftree-ter would also fix PR53049
where it moves a volatile asm across a library call.

As explained in the PR this only avoids the issue by accident (and
with the other comment
I'm trying to make sure this is not another such case).

You can always use -O0 (disable everything) to "fix" bugs, but that's
of course not a fix.  Disabling TER might hide a bug in TER but it
might just do things differently and _not_ fix or hide a bug.
Agreed. It's most likely just papering over the problem. Based on what I quickly read in the PR, most likely a problem in the AVR backend.

jeff

Reply via email to