RTEMS | spfatal34/spfatal36: Avoid RTEMS_UNREACHABLE() (!308)

Sebastian Huber (@sebhub) gitlab at rtems.org
Wed Nov 13 01:06:10 UTC 2024



Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/308

Project:Branches: sebhub/rtems:improve-spfatal-tests to rtems/rtos/rtems:main
Author:   Sebastian Huber
Assignee: Sebastian Huber



## Summary

spfatal34/spfatal36: Avoid RTEMS_UNREACHABLE()

The RTEMS_UNREACHABLE() is a hint to the compiler that this code
location is unreachable.  The compiler may use this information to
optimize the code.  If a test case fails and we reach this code
location, then unpredictable things may happen making the test case
debugging more difficult than necessary.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/308
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241113/00817fe5/attachment-0001.htm>


More information about the bugs mailing list