| To: | Long Li <long21st@yahoo.com> |
|---|---|
| Subject: | Re: register declared variable for no optimization |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Fri, 31 Jan 2003 03:20:52 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20030130231119.65802.qmail@web40412.mail.yahoo.com>; from long21st@yahoo.com on Thu, Jan 30, 2003 at 03:11:19PM -0800 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20030130231119.65802.qmail@web40412.mail.yahoo.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5.1i |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: How to get the c source code in disassembly?, Keith Owens |
|---|---|
| Next by Date: | Re: XFree XZ support, Ralf Baechle |
| Previous by Thread: | register declared variable for no optimization, Long Li |
| Next by Thread: | mips64 glitches, Kumba12345 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |