d: Build the D sources in the front-end with -fno-exceptions
commitc785204735b2cace9a676969de0967105a06438d
authorIain Buclaw <ibuclaw@gdcproject.org>
Fri, 1 Jul 2022 15:40:18 +0000 (1 17:40 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Wed, 6 Jul 2022 17:51:38 +0000 (6 19:51 +0200)
tree5d2b4821933fa932a08ae24e0ed52c0b2e726105
parentacb696b792eeab92167f516b5236ed9242e62deb
d: Build the D sources in the front-end with -fno-exceptions

The D front-end does not use exceptions, but it still requires RTTI for
some lowerings of convenience language features.  Enforce it with by
building with `-fno-exceptions'.

gcc/d/ChangeLog:

* Make-lang.in (NOEXCEPTION_DFLAGS): Define.
(ALL_DFLAGS): Add NO_EXCEPTION_DFLAGS.
gcc/d/Make-lang.in