Use of register keyword for Globals

2025-05-23 Thread Joel Sherrill via Gcc
Hi In the SPARC port of RTEMS, there is a global variable assigned to a register for performance reasons. This is the near decade old line of code: register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" ); Per https://gcc.gnu.org/onlinedocs/gcc/Global-Register-Variables.html, this

Re: Use of register keyword for Globals

2025-05-23 Thread Richard Biener via Gcc
> Am 23.05.2025 um 17:06 schrieb Joel Sherrill via Gcc : > > Hi > > In the SPARC port of RTEMS, there is a global variable assigned to a > register for performance reasons. This is the near decade old line of code: > > register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" );

Re: Use of register keyword for Globals

2025-05-23 Thread LIU Hao via Gcc
在 2025-5-23 23:03, Joel Sherrill via Gcc 写道: Hi In the SPARC port of RTEMS, there is a global variable assigned to a register for performance reasons. This is the near decade old line of code: register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" ); +1 for this. On ARM64, Win

Re: Use of register keyword for Globals

2025-05-23 Thread Joel Sherrill via Gcc
On Fri, May 23, 2025 at 10:12 AM Richard Biener wrote: > > > > Am 23.05.2025 um 17:06 schrieb Joel Sherrill via Gcc : > > > > Hi > > > > In the SPARC port of RTEMS, there is a global variable assigned to a > > register for performance reasons. This is the near decade old line of > code: > > > >

Re: Use of register keyword for Globals

2025-05-23 Thread Joel Sherrill via Gcc
On Fri, May 23, 2025 at 12:33 PM Richard Biener wrote: > > > Am 23.05.2025 um 18:32 schrieb Joel Sherrill : > >  > > > On Fri, May 23, 2025 at 10:12 AM Richard Biener < > richard.guent...@gmail.com> wrote: > >> >> >> > Am 23.05.2025 um 17:06 schrieb Joel Sherrill via Gcc : >> > >> > Hi >> > >>

GCC 14.3 Released

2025-05-23 Thread Richard Biener via Gcc
The GNU Compiler Collection version 14.3 has been released. GCC 14.3 is a bug-fix release from the GCC 14 branch containing important fixes for regressions and serious bugs in GCC 14.2 with more than 211 bugs fixed since the previous release. This release is available from the FTP servers listed

GCC 14.3.1 Status Report (2025-05-23)

2025-05-23 Thread Richard Biener via Gcc
Status == The GCC 14 branch is open again for regression and documentation fixes. Quality Data Priority # Change from last report --- --- P10- 1 P2 603- 15 P3 133+ 23 P4

gcc-14-20250523 is now available

2025-05-23 Thread GCC Administrator via Gcc
Snapshot gcc-14-20250523 is now available on https://gcc.gnu.org/pub/gcc/snapshots/14-20250523/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 14 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: Review for gcc-15/changes.html

2025-05-23 Thread Sam James via Gcc
Heiko Eißfeldt writes: > Hi, > > here is a patch for some mostly minor typos in > https://gcc.gnu.org/gcc-15/changes.html. > My fixes might be wrong of course, so they are just suggestions. > > Also, the linked page https://gcc.gnu.org/gcc-15/porting_to.html > contains the now outdated > "Note: G