trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2020

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

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 14 Feb 2020 01:53:46 -0600
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.


Attachments: