File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -556,8 +556,6 @@ task:
556556 # - Use -fmax-errors, as particularly cpluspluscheck can be very verbose
557557 # - XXX have to disable ICU to avoid errors:
558558 # https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de
559- # - XXX: the -Wno-register avoids verbose warnings:
560- # https://postgr.es/m/20220308181837.aun3tdtdvao4vb7o%40alap3.anarazel.de
561559 # ##
562560 always :
563561 headers_headerscheck_script : |
@@ -569,7 +567,7 @@ task:
569567 make -s -j${BUILD_JOBS} clean
570568 time make -s headerscheck EXTRAFLAGS='-fmax-errors=10'
571569 headers_cpluspluscheck_script : |
572- time make -s cpluspluscheck EXTRAFLAGS='-Wno-register - fmax-errors=10'
570+ time make -s cpluspluscheck EXTRAFLAGS='-fmax-errors=10'
573571
574572 always :
575573 upload_caches : ccache
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ pg_regexec(regex_t *re,
192192 int flags )
193193{
194194 struct vars var ;
195- register struct vars * v = & var ;
195+ struct vars * v = & var ;
196196 int st ;
197197 size_t n ;
198198 size_t i ;
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ pg_spin_delay_impl(void)
140140static inline bool
141141pg_atomic_test_set_flag_impl (volatile pg_atomic_flag * ptr )
142142{
143- register char _res = 1 ;
143+ char _res = 1 ;
144144
145145 __asm__ __volatile__(
146146 " lock \n"
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ typedef unsigned char slock_t;
142142static __inline__ int
143143tas (volatile slock_t * lock )
144144{
145- register slock_t _res = 1 ;
145+ slock_t _res = 1 ;
146146
147147 /*
148148 * Use a non-locking test before asserting the bus lock. Note that the
@@ -223,7 +223,7 @@ typedef unsigned char slock_t;
223223static __inline__ int
224224tas (volatile slock_t * lock )
225225{
226- register slock_t _res = 1 ;
226+ slock_t _res = 1 ;
227227
228228 __asm__ __volatile__(
229229 " lock \n"
@@ -356,7 +356,7 @@ typedef unsigned char slock_t;
356356static __inline__ int
357357tas (volatile slock_t * lock )
358358{
359- register slock_t _res ;
359+ slock_t _res ;
360360
361361 /*
362362 * See comment in src/backend/port/tas/sunstudio_sparc.s for why this
@@ -511,9 +511,9 @@ typedef unsigned int slock_t;
511511static __inline__ int
512512tas (volatile slock_t * lock )
513513{
514- register volatile slock_t * _l = lock ;
515- register int _res ;
516- register int _tmp ;
514+ volatile slock_t * _l = lock ;
515+ int _res ;
516+ int _tmp ;
517517
518518 __asm__ __volatile__(
519519 " .set push \n"
@@ -574,7 +574,7 @@ static __inline__ int
574574tas (volatile slock_t * lock )
575575{
576576 volatile int * lockword = TAS_ACTIVE_WORD (lock );
577- register int lockval ;
577+ int lockval ;
578578
579579 /*
580580 * The LDCWX instruction atomically clears the target word and
You can’t perform that action at this time.
0 commit comments