Groups | Search | Server Info | Login | Register
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!news.mv.net!news.lightlink.com!news.iecc.com!nerds-end |
|---|---|
| From | ike@localhost.claranet.nl (Ike Naar) |
| Newsgroups | comp.compilers |
| Subject | Re: GCC/G++ compiler: Error goes away when run through debugger |
| Date | Tue, 29 Mar 2011 21:42:12 +0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 11 |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <11-03-063@comp.compilers> (permalink) |
| References | <11-03-054@comp.compilers> <11-03-061@comp.compilers> |
| NNTP-Posting-Host | news.iecc.com |
| X-Trace | gal.iecc.com 1301516841 61025 64.57.183.58 (30 Mar 2011 20:27:21 GMT) |
| X-Complaints-To | abuse@iecc.com |
| NNTP-Posting-Date | Wed, 30 Mar 2011 20:27:21 +0000 (UTC) |
| Keywords | GCC, debug |
| Posted-Date | 30 Mar 2011 16:27:21 EDT |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| Xref | x330-a1.tempe.blueboxinc.net comp.compilers:66 |
Show key headers only | View raw
George Neuner <gneuner2@comcast.net> wrote: >GCC's -O3 optimization level is widely known to cause strange problems >... almost always because the program is violating assumptions made by >the more advanced optimizations. > >The -O2 level typically is safe. If you think you need the -O3 >optimizations, you should individually enable them to see if any >breaks the program. Specify -O3 only if you find they all work. Sometimes using -O3 makes the program run slower than when using -O2.
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Re: GCC/G++ compiler: Error goes away when run through debugger George Neuner <gneuner2@comcast.net> - 2011-03-29 12:18 -0400
Re: GCC/G++ compiler: Error goes away when run through debugger ike@localhost.claranet.nl (Ike Naar) - 2011-03-29 21:42 +0000
Re: GCC/G++ compiler: Error goes away when run through debugger George Neuner <gneuner2@comcast.net> - 2011-03-31 01:34 -0400
Re: GCC/G++ compiler: Error goes away when run through debugger Shankar <shankarke@gmail.com> - 2011-04-01 15:31 -0700
csiph-web