- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
While I was testing the 9.1.024 compiler I noticed some files took really long to compile. I tracked it down to the default optimization setting. I use /check:uninit and /check:bounds compiler options. In previous versions (9.0.029?) the default optimization would be /Od (no optimaiztion), with 9.1.024 it defaults to /O2. I could not find this change in the release notes, is it intended behaviour?
I also have the feeling that compiling is a little slower compared to 9.0 but I didn't do exact measurements.
Is it possible to get some information on which parts of a source file take a long time to compile, so the code can be improved in this regard?
Thanks,
Guido
While I was testing the 9.1.024 compiler I noticed some files took really long to compile. I tracked it down to the default optimization setting. I use /check:uninit and /check:bounds compiler options. In previous versions (9.0.029?) the default optimization would be /Od (no optimaiztion), with 9.1.024 it defaults to /O2. I could not find this change in the release notes, is it intended behaviour?
I also have the feeling that compiling is a little slower compared to 9.0 but I didn't do exact measurements.
Is it possible to get some information on which parts of a source file take a long time to compile, so the code can be improved in this regard?
Thanks,
Guido
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The default did not change in 9.1. From the command line, /O2 has always been the default. If building from Visual Studio, /Od is the default for debug configurations.
I'd suggest sending an example to Intel Premier Support for analysis.
I'd suggest sending an example to Intel Premier Support for analysis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/O2 is the default but in previous versions /check:uninit and/or /check:bounds disabled optmizations. In 9.1.024 this seems not to be the case anymore.
I will send an example to Premier Support.
Thanks,
Guido
I will send an example to Premier Support.
Thanks,
Guido

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page