This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Disable all optimization options in GCC
- From: Mohamed Boussaa <mohamedboussaa3 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 26 Oct 2015 13:32:22 +0100
- Subject: Re: Disable all optimization options in GCC
- Authentication-results: sourceware.org; auth=none
- References: <CADEOxiNzOK65QoDvq+xrBDCDf1MTc2XHWUo4khCsu_PTwyj4Zw at mail dot gmail dot com> <C2903B59-3811-4C84-8053-72E21688BF79 at steinwurf dot com> <56298A8F dot 7000301 at gmail dot com>
2015-10-23 3:17 GMT+02:00 Martin Sebor <msebor@gmail.com>:
> So the output of the -Q --help=optimizers option isn't quite as
> meaningful as one might hope.
>
> Martin
>
So far, none of the optimization options is turned on at O0.
So I should refer to gcc documentation to check enabled options for each level?
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html