Chris Johns created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5255

Assignee: Joel Sherrill

The following discussion from !488 should be addressed:

- [ ] @opticron started a 
[discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/488#note_122997):
 

    > So...this is technically correct as register g6 is reserved by the SPARC 
ABI for OS use and the header declaration allows direct access to g6 as if it 
were a variable, but this particular type of declaration is fragile since it 
uses a GCC extension which could go away in the future (especially given how 
the `register` keyword has been declining over time).
    > 
    > A better long-term solution is to convert this declaration to a little 
snippet of inline assembler that stores into or retrieves from g6 as necessary.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5255
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