• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Switching from -O3 to -Os causes my code to start crashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Switching from -O3 to -Os causes my code to start crashing


  • Subject: Switching from -O3 to -Os causes my code to start crashing
  • From: Mark Alldritt <email@hidden>
  • Date: Wed, 17 May 2006 17:36:46 -0700
  • Thread-topic: Switching from -O3 to -Os causes my code to start crashing

Hi All,

When I change the optimizer level from -O3 (fastest) to -Os (fastest,
smallest), one part of my code begins crashing.  Can someone point me to a
place where the differences between -O3 and -Os are explained in detail so
that I can figure out what my code is doing that is tripping up the GCC
optimizer?

The problem area appears to be a single C++ class.

Cheers
-Mark

------------------------------------------------------------------------
Mark Alldritt                      Late Night Software Ltd.
Phone: 250-380-1725                Script Debugger 4.0 - AppleScript IDE
WEB:  http://www.latenightsw.com/  FaceSpan 4.3 - AppleScript RAD
                                   Affrus 1.0 - Perl Debugging


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Switching from -O3 to -Os causes my code to start crashing
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: STL set inside inside a class (sorry. Fixed)
  • Next by Date: Re: STL set inside inside a class
  • Previous by thread: Re: STL set inside inside a class (sorry. Fixed)
  • Next by thread: Re: Switching from -O3 to -Os causes my code to start crashing
  • Index(es):
    • Date
    • Thread