RTEMS | testsuites/sptests/spcache01/init.c: Address -Wclobbered warning (!946)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Jan 23 23:40:43 UTC 2026



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/946

Project:Branches: joel/rtems:fix-Wclobber-spcache01 to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

testsuites/sptests/spcache01/init.c: Address -Wclobbered warning

This warning indicates the potential for using a local variable which
is not guaranteed to be preserved across a setjmp()/longjmp() pair.
In this case, it was a false positive and the warning was disabled.

Updates #5364.


<!-- 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/946
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/20260123/3f0f0dea/attachment.htm>


More information about the bugs mailing list