Re: register declared variable for no optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 30, 2003 at 03:11:19PM -0800, Long Li wrote:

> Why the gcc-3.0.4 did the weird stuff? Do I have to
> use at least level 1 to make the register declared
> work for it?

Most modern C compilers simply ignore the register specifier because in
practice it would result in worse code and as for code quality the
result of -O0 are not of interest anyway.

Linux code must be optmized at least -O1 or it probably won't build or
work properly.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux