RTEMS | sparc: Remove redundant 'register' specifier from cpuimpl.h (!835)

Karthikey Kadati (@karthikey_kadati) gitlab at rtems.org
Thu Nov 20 14:57:19 UTC 2025



Karthikey Kadati created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/835

Project:Branches: karthikey_kadati/rtems:fix/sparc-remove-register to rtems/rtos/rtems:main
Author:   Karthikey Kadati




This patch addresses a **-Wpedantic compiler warning** generated during the SPARC build. The `register` keyword was redundant in the `_CPU_Use_thread_local_storage` function due to the use of the `__asm__` GNU extension. The fix removes the `register` keyword, eliminating the warning. I have verified the warning is successfully eliminated on a local build.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/835
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/20251120/654ef84b/attachment.htm>


More information about the bugs mailing list