<div dir="ltr">Is something similar going to be needed for architecture and BSP specific IDLE threads?<div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 25, 2023 at 1:09 AM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">OK<br>
<br>
Chris<br>
<br>
On 25/7/2023 4:04 pm, Sebastian Huber wrote:<br>
> <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658" rel="noreferrer" target="_blank">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658</a><br>
> <br>
> This GCC bug leads to an incomplete code coverage status.<br>
> <br>
> Update #4932.<br>
> ---<br>
> cpukit/score/cpu/no_cpu/cpuidle.c | 7 +++++++<br>
> 1 file changed, 7 insertions(+)<br>
> <br>
> diff --git a/cpukit/score/cpu/no_cpu/cpuidle.c b/cpukit/score/cpu/no_cpu/cpuidle.c<br>
> index bff1309d39..a6001e73b0 100644<br>
> --- a/cpukit/score/cpu/no_cpu/cpuidle.c<br>
> +++ b/cpukit/score/cpu/no_cpu/cpuidle.c<br>
> @@ -33,6 +33,13 @@<br>
> <br>
> void *_CPU_Thread_Idle_body( uintptr_t ignored )<br>
> {<br>
> + /*<br>
> + * This is a workaround for:<br>
> + *<br>
> + * <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658" rel="noreferrer" target="_blank">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658</a><br>
> + */<br>
> + __asm__ volatile ("");<br>
> +<br>
> while ( true ) {<br>
> /* Do nothing */<br>
> }<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>