lkml.org 
[lkml]   [2001]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: gcc 3.0.2/kernel details (-O issue)
From
Date
On Wed, 2001-12-19 at 14:39, Martin Devera wrote:
> It is interesting that 2.2 can be done with -O. Also I'd expect
> errors during compilation and not silent crash...

Well, you certainly won't get errors, because compiler optimizations
shouldn't change expected syntax.

-O2 is the standard optimization level for the kernel; everything is
compiled via it. When developers test their code, nuances that the
optimization introduce are accepted. Removing the optimization may
break those expectations. Thus the kernel requires it.

Robert Love

-
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-03-22 13:18    [W:0.094 / U:5.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site