RE: -fno-strict-aliasing

From: Joerg Pommnitz (Joerg.Pommnitz@joerg-pommnitz.de)
Date: Tue Apr 18 2000 - 10:34:28 EDT

  • Next message: Michael H. Warfield: "Re: Security in general (was Re: Proposal "LUID")"

    > Can anybody tell me what the gcc flag "-fno-strict-aliasing" does?
    > It's used by default on kernel builts but not documented in the gcc man
    page.
    > I'm curious how many other flags exist that also aren't documented, or if
    there
    > is some place these are actually documented?

    It switches off Mark Mitchel's aliasing code in gcc.
    This is required because the Linux kernel sources
    violate the ANSI-C aliasing rules.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Tue Apr 18 2000 - 11:42:52 EDT