Re: 6.0 and -O2 option

From: Chuck Swiger (cswiger_at_mac.com)
Date: 08/31/05

  • Next message: Stephan Uphoff: "Re: thanks for commiting (MFC ffs_softdep.c 1.182, softdep.h 1.18) to RELENG_5 and 6. When in 4?"
    Date: Wed, 31 Aug 2005 10:57:05 -0400
    To: "Jim C. Nasby" <decibel@decibel.org>
    
    

    Jim C. Nasby wrote:
    > On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote:
    [ ... ]
    >> Simply because not every port works with -O2 optimisations. It caused
    >> bad code in some circumstances.
    >
    > Is there an automated way to identify those ports so they can be forced
    > not to use -O higer than -O1?

    Regrettably, no. Well, -Werror might be somewhere between overkill and
    helpful, assuming the compiler can recognize a potential type-punning situation.

    -- 
    -Chuck
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Stephan Uphoff: "Re: thanks for commiting (MFC ffs_softdep.c 1.182, softdep.h 1.18) to RELENG_5 and 6. When in 4?"

    Relevant Pages

    • Re: 6.0 and -O2 option
      ... > Jim C. Nasby wrote: ... >>Is there an automated way to identify those ports so they can be forced ... support -O2, and it would be nice if people could just put ...
      (freebsd-stable)
    • Re: 6.0 and -O2 option
      ... Jim C. Nasby wrote: ... and having the ports force a correct -O setting. ... To unsubscribe, ...
      (freebsd-stable)
    • Re: Disabling write-behind on IDE drives, and SMART
      ... Jim C. Nasby wrote: ... how do I disable write caching on IDE drives? ...
      (freebsd-stable)
    • Re: Should I just dump ISA and buy a PIX ??
      ... Well Jim I finally got it cracked. ... port range in DCOM ... which I did (I used Ports 5000-5025) and opened up TCP Ports 5000-5025 on my ... >> Packet Filters and Protocol Definitions are completely unrelated in ISA ...
      (microsoft.public.isaserver)
    • Re: Question about the new Towers
      ... Jim wrote: ... capability at all. ... "Ah, gentle dames, it gars me greet, To think how monie councels sweet, ...
      (uk.comp.sys.mac)