File tree 4 files changed +10
-12
lines changed
4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -556,8 +556,6 @@ task:
556
556
# - Use -fmax-errors, as particularly cpluspluscheck can be very verbose
557
557
# - XXX have to disable ICU to avoid errors:
558
558
# 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
561
559
# ##
562
560
always :
563
561
headers_headerscheck_script : |
@@ -569,7 +567,7 @@ task:
569
567
make -s -j${BUILD_JOBS} clean
570
568
time make -s headerscheck EXTRAFLAGS='-fmax-errors=10'
571
569
headers_cpluspluscheck_script : |
572
- time make -s cpluspluscheck EXTRAFLAGS='-Wno-register - fmax-errors=10'
570
+ time make -s cpluspluscheck EXTRAFLAGS='-fmax-errors=10'
573
571
574
572
always :
575
573
upload_caches : ccache
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ pg_regexec(regex_t *re,
192
192
int flags )
193
193
{
194
194
struct vars var ;
195
- register struct vars * v = & var ;
195
+ struct vars * v = & var ;
196
196
int st ;
197
197
size_t n ;
198
198
size_t i ;
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ pg_spin_delay_impl(void)
140
140
static inline bool
141
141
pg_atomic_test_set_flag_impl (volatile pg_atomic_flag * ptr )
142
142
{
143
- register char _res = 1 ;
143
+ char _res = 1 ;
144
144
145
145
__asm__ __volatile__(
146
146
" lock \n"
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ typedef unsigned char slock_t;
142
142
static __inline__ int
143
143
tas (volatile slock_t * lock )
144
144
{
145
- register slock_t _res = 1 ;
145
+ slock_t _res = 1 ;
146
146
147
147
/*
148
148
* Use a non-locking test before asserting the bus lock. Note that the
@@ -223,7 +223,7 @@ typedef unsigned char slock_t;
223
223
static __inline__ int
224
224
tas (volatile slock_t * lock )
225
225
{
226
- register slock_t _res = 1 ;
226
+ slock_t _res = 1 ;
227
227
228
228
__asm__ __volatile__(
229
229
" lock \n"
@@ -356,7 +356,7 @@ typedef unsigned char slock_t;
356
356
static __inline__ int
357
357
tas (volatile slock_t * lock )
358
358
{
359
- register slock_t _res ;
359
+ slock_t _res ;
360
360
361
361
/*
362
362
* See comment in src/backend/port/tas/sunstudio_sparc.s for why this
@@ -511,9 +511,9 @@ typedef unsigned int slock_t;
511
511
static __inline__ int
512
512
tas (volatile slock_t * lock )
513
513
{
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 ;
517
517
518
518
__asm__ __volatile__(
519
519
" .set push \n"
@@ -574,7 +574,7 @@ static __inline__ int
574
574
tas (volatile slock_t * lock )
575
575
{
576
576
volatile int * lockword = TAS_ACTIVE_WORD (lock );
577
- register int lockval ;
577
+ int lockval ;
578
578
579
579
/*
580
580
* The LDCWX instruction atomically clears the target word and
You can’t perform that action at this time.
0 commit comments