RTEMS | testsuites/validation: Resolve compiler warnings and simulator failures (!1163)
Gedare Bloom (@gedare)
gitlab at rtems.org
Mon Mar 30 20:51:00 UTC 2026
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1163 was reviewed by Gedare Bloom
--
Gedare Bloom started a new discussion on testsuites/validation/tc-timecounter-install.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1163#note_147518
> {
> - *adjustment = -(( (int64_t) 5000 ) << 32);
> + *adjustment = -( (int64_t) 5000 << 32 );
I'm confused, the removal of the parens should not be changing the operator precedence, so there shouldn't be any difference between these two lines. In both cases, the negation is outside of the shift.
How was this causing a problem for you?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1163
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/20260330/6d2fc58d/attachment.htm>
More information about the bugs
mailing list