Testing GDC (GCC 7.1) on Runtime-less ARM Cortex-M

Iain Buclaw via D.gnu d.gnu at puremagic.com
Wed Jun 28 09:52:26 PDT 2017


On 28 June 2017 at 13:19, Mike via D.gnu <d.gnu at puremagic.com> wrote:
>
> PR507 eems to have made a mild improvement.
>

OK, so will pull it in.  As what has already been said, if you aren't
doing already, always use --enable-checking=release, any other value
(apart from none) is for testing builds only.

You probably want to tone down on optimizations as well.  -O3 will be
doing a lot of work, sometimes for little or no gain.  In most cases,
-O2 -finline-functions is good enough, which can be abbreviated
further as simply -Os.  [for full list of enabled/disabled passes: gdc
-Q -Os --help=optimizers]

You can see a breakdown of what areas the compiler spends the most
time in with -ftime-report

Regards,
Iain.


More information about the D.gnu mailing list