Joel Sherrill created an issue:
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5106
## Summary
This is a warning from a recent build of sparc/leon3. The register
specification needs to be removed.
```
[4261/4735] Compiling testsuites/sptests/sptask_err01/init.c
In file included from ../../../cpukit/include/rtems/score/percpu.h:43,
from ../../../cpukit/include/rtems/score/threaddispatch.h:41,
from ../../../testsuites/support/include/tmacros.h:50,
from ../../../testsuites/sptests/spstdc17/init.c:34:
../../../cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h:220:17: warning:
file-scope declaration of '_SPARC_Per_CPU_current' specifies 'register'
[-Wpedantic]
220 | register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" );
| ^~~~~~~~~~~~~~~
```
## Steps to reproduce
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5106
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs