Central | spec/rtems: fix clobbered local in task restart validation (!13)
Gedare Bloom (@gedare)
gitlab at rtems.org
Mon Oct 13 18:47:11 UTC 2025
Gedare Bloom commented on a discussion on spec/rtems/task/req/restart.yml: https://gitlab.rtems.org/rtems/prequal/rtems-central/-/merge_requests/13#note_134899
> if ( ctx->interrupt || ctx->nested_request ) {
> if ( ctx->blocked ) {
> SetFatalHandler( ResumeThreadDispatch, ctx );
> - cpu_self = _Thread_Dispatch_disable();
> + (void) _Thread_Dispatch_disable();
>
> if ( setjmp( ctx->thread_dispatch_context ) == 0 ) {
PS: even though it is a false positive, I think it is also OK to quiet the warning.
--
View it on GitLab: https://gitlab.rtems.org/rtems/prequal/rtems-central/-/merge_requests/13#note_134899
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/20251013/853d3a19/attachment.htm>
More information about the bugs
mailing list