lkml.org 
[lkml]   [2005]   [Nov]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 07 Nov 2005 15:50:35 +1000
FromGreg Ungerer <>
SubjectRe: [PATCH]: linux-2.6.14-uc0 (MMU-less support)
Hi Adrian,

Adrian Bunk wrote:
>>
>>>ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
>>>-CFLAGS		+= -Os
>>>+CFLAGS		+= -O
>>>else
>>>CFLAGS		+= -O2
>>>endif
>>
>>Sees this undoes part of the benefit, perhaps you should add a
>>third option.
> 
> 
> Even further, I don't see any reason for using -O - the resulting code 
> is expected to be both bigger and slower than with -Os.
> 
> Is this a workaround for a gcc bug on some platform?

Yes, extacly, it is. See other post on this for more details.
Still shouldn't be here though.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg@snapgear.com
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-11-07 05:52    [from the cache]
©2003-2008