mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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:
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user