toplev: avoid recursive emergency_dump_function
authorAlexander Monakov <amonakov@ispras.ru>
Thu, 3 Aug 2017 13:39:47 +0000 (16:39 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Thu, 3 Aug 2017 13:39:47 +0000 (16:39 +0300)
commit75560de5f5df4a003ecf80e28bf2b926ba758e55
treeb4be28c423eff8d34a963ed82b921519d41aec2d
parent2d7744d4ef93bfffb484ae24b81163049364947f
toplev: avoid recursive emergency_dump_function

* toplev.c (dumpfile.h): New include.
(internal_error_reentered): New static function.  Use it...
(internal_error_function): ...here to handle reentered internal_error.

From-SVN: r250854
gcc/ChangeLog
gcc/toplev.c