Pavel Pisa commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/726#note_132798


We can prepare another merge request if that is preferred way.

The problem and solutions I see are the same as above and which @michallenc has 
written there in parallel with me.

But I would give bold warning to fix warnings without full analysis such that 
they disappear. If there have been another abs warnings then they can and 
probably would lead to broken code. The original code worked well for all 
systems which define signed numbers by the second complement representation. 
May be that actual attempt to push implementation defined behavior to undefined 
one for the performance gain can broke results for now or in future. But simple 
warning silence can lead to broken code which is hard to find cause of the 
problems.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/726#note_132798
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to