trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2020

Re: [trinity-devel] "register int" still needed?

From: "Dr. Nikolaus Klepp" <office@...>
Date: Fri, 14 Feb 2020 09:00:27 +0100
Anno domini 2020 Fri, 14 Feb 01:53:46 -0600
 David C. Rankin scripsit:
> On 2020/01/26 05:24 PM, Dr. Nikolaus Klepp wrote:
> > Hi all!
> >
> > Are the "register int" definitions in the TDE sources still needed? As far as I can tell the compiler just gives a
> > warning and interprets "register int" as "int" - so would it bee a good idea to replace all "rgister int" with
> > "int" ?
> >
> > Nik
> >
> I think with the current state of compiler optimization, "register int" is
> pretty much useless or even make things worse
> .
> Cheers
>   Michele
> 
> They are useless, register is no longer needed.

So can we remove them?

Nik


-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...