score: Add workaround for GCC bug

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658

This GCC bug leads to an incomplete code coverage status.

Update #4932.
This commit is contained in:
Sebastian Huber
2023-07-06 10:34:15 +02:00
parent 23c8a039b3
commit f8d4f16da6

View File

@@ -33,6 +33,13 @@
void *_CPU_Thread_Idle_body( uintptr_t ignored )
{
/*
* This is a workaround for:
*
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658
*/
__asm__ volatile ("");
while ( true ) {
/* Do nothing */
}