RTEMS | Address type limit warnings (!802)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Oct 16 14:32:55 UTC 2025



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

Project:Branches: joel/rtems:fix-type-limit-warnings to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill
Reviewers: Kinsey Moore and Gedare Bloom


## Summary

GCC generates type limit warnings when comparison is always true or
always false due to the limited range of the data type, This was in a
termios structure. For most of the cases in RTEMS, this was when
a variable of an unsigned type was compared to be < or <= 0.

Updates #5325.

<!-- 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/802
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/20251016/120888b1/attachment-0001.htm>


More information about the bugs mailing list