RTEMS | Wclobbered warnings (#5364)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Oct 31 19:26:59 UTC 2025




Joel Sherrill commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5364#note_135513


Updating. @sebhub appears to have fixed all of the occurrences in validaiton tests. @chris Most occurrences left are in libdebugger. @opticron @gedare any insight into any of these?

```
cpukit/libdebugger/rtems-debugger-server.c:156:13: warning: variable 'ui' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libdebugger/rtems-debugger-server.c:1632:15: warning: variable 'addr' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libdebugger/rtems-debugger-server.c:1633:13: warning: variable 'length' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libdebugger/rtems-debugger-server.c:1658:15: warning: variable 'response' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libdebugger/rtems-debugger-server.c:1664:15: warning: variable 'addr' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libdebugger/rtems-debugger-server.c:1665:13: warning: variable 'length' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libdebugger/rtems-debugger-server.c:176:11: warning: variable 'ui' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libmisc/shell/main_mknod.c:134:26: warning: variable 'dev' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/libmisc/shell/main_mknod.c:384:19: warning: variable 'd' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
cpukit/score/cpu/arm/include/rtems/score/cpu.h:299:12: warning: variable 'level' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
testsuites/sptests/spcache01/init.c:191:32: warning: variable 'lock_context' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5364#note_135513
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/20251031/b04a42d2/attachment-0001.htm>


More information about the bugs mailing list