lkml.org 
[lkml]   [2005]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 02/2] allow gcc4 to optimize unit-at-a-time
    On Wed, Dec 28, 2005 at 08:04:35AM -0500, Jakub Jelinek wrote:
    > No.
    > -fno-unit-at-a-time should be used with GCCs that
    > a) support it
    > b) are older than GCC 4.0
    >
    > The "$(GCC_VERSION) -lt 0400" test cares of b),
    > $(call cc-option,-fno-unit-at-a-time) cares of a).

    There was a reason for disabling it unconditionally in first place.
    That was due to unexpected huge stack usage if I understand correct.
    Ingo's patch enebles unit-at-a-time only for gcc > 4.00 which should
    have this issue fixed.

    If the argument is that we suddenly shall enable unit-at-a-time for
    gcc before 4.00 then we should visit the reasons why it originally was
    disabled.

    Sam
    -
    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-12-28 14:20    [W:0.021 / U:59.008 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site