Fix sigsegv on -fdump-tree-all-enumerate_locals
authorTom de Vries <tdevries@suse.de>
Sat, 7 Jul 2018 11:08:27 +0000 (11:08 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sat, 7 Jul 2018 11:08:27 +0000 (11:08 +0000)
commitbb120fb0fee876759bd9aa849585762420199507
treecbdfe73145dbf5ccb4c97eef25233f4e3f39beae
parente730a0ef11a788bb00034e007b320c6608c17e66
Fix sigsegv on -fdump-tree-all-enumerate_locals

2018-07-07  Tom de Vries  <tdevries@suse.de>

* tree-dfa.c (dump_enumerated_decls): Handle cfun->cfg == NULL.

* gcc.misc-tests/options.exp (check_for_all_options): Clean up dump
files.
(get_dump_flags): New proc.
(toplevel): Test all dump flags.

From-SVN: r262500
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/options.exp
gcc/tree-dfa.c