[chbot] Macros describing optimization
Charles Manning
cdhmanning at gmail.com
Tue Jun 30 04:32:14 BST 2020
Thanks but it would appear that these just say if the code has been
optimised, not what the optimised level is.
eg. Can't tell the difference between -O1 and -Og.
On Tue, Jun 30, 2020 at 3:15 PM Bevin Brett <bevin_brett at hotmail.com> wrote:
> Try these
>
> https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html#Common-Predefined-Macros
>
> Common Predefined Macros (The C Preprocessor)
> <https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html#Common-Predefined-Macros>
> 3.7.2 Common Predefined Macros. The common predefined macros are GNU C
> extensions. They are available with the same meanings regardless of the
> machine or operating system on which you are using GNU C or GNU Fortran.
> gcc.gnu.org
> __OPTIMIZE__ __OPTIMIZE_SIZE__ __NO_INLINE__
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for
> venue, directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20200630/56454444/attachment.html>
More information about the Chchrobotics
mailing list