Gedare Bloom created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5373

Assignees: Joel Sherrill and Gedare Bloom

## Summary
<!--
Please provide as much information as possible such as error messages or 
attaching logs
-->

It is undefined behavior to assign the return value of `setjmp` to a local 
variable.
See in DESCRIPTION at https://pubs.opengroup.org/onlinepubs/9799919799/

https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/testsuites/validation/tc-task-restart.c?ref_type=heads#L782



<!-- Pre-set options
- milestone
-->

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to