d: Partially fix ICE: in register_moduleinfo, at d/modules.cc:40
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 21 Aug 2019 07:53:44 +0000 (07:53 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 21 Aug 2019 07:53:44 +0000 (07:53 +0000)
commit7cc9cfd2ca8c526661da7f040e80cbd2bc597645
tree66404cd02ad01cc2b6532b4c12fad505237f528d
parentde83a4c14b4715f4ecd42d3f3024edf31ae8d714
d: Partially fix ICE: in register_moduleinfo, at d/modules.cc:40

gcc/d/ChangeLog:

PR d/88722
* modules.cc: Include diagnostic.h.
(register_moduleinfo): Use sorry instead of gcc_assert for targets
without named sections.

From-SVN: r274769
gcc/d/ChangeLog
gcc/d/modules.cc