Re: cpluspluscheck complains about use of register - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: cpluspluscheck complains about use of register
Date
Msg-id CAH2-Wzn99KHQkwBaObFOLkCrWOwLjXYRF+1M-77J91WNfx38sg@mail.gmail.com
Whole thread Raw
In response to Re: cpluspluscheck complains about use of register  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Sat, Sep 24, 2022 at 12:11 PM Andres Freund <andres@anarazel.de> wrote:
> I hit this again while porting cplupluscheck to be invoked by meson as
> well. ISTM that we should just remove the uses of register. Yes, some very old
> compilers might generate worse code without register, but I don't think we
> need to care about peak efficiency with neolithic compilers.

+1. I seem to recall reading that the register keyword was basically
useless as long as 15 years ago.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: cpluspluscheck complains about use of register
Next
From: Tom Lane
Date:
Subject: Re: cpluspluscheck complains about use of register