Re: -O2 vs -O3

From: Andreas Schwab (schwab@suse.de)
Date: Wed May 24 2000 - 14:55:05 EDT

  • Next message: Alejandro Conty: "bh question"

    Christopher Thompson <chris@hypocrite.org> writes:

    |> Brief question:
    |>
    |> Linux kernels are compiled with the -O2 flag set. I'm curious, why don't we
    |> use -O3?

    Because the only difference between -O2 and -O3 is -finline-functions,
    which is bad for the kernel sources (which wants to control inlining
    explicitly).

    Andreas.

    -- 
    Andreas Schwab                                  "And now for something
    SuSE Labs                                        completely different."
    Andreas.Schwab@suse.de
    SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
    

    - 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 : Wed May 24 2000 - 15:43:12 EDT