re PR fortran/79854 (diagnostics: gfc_conv_constant_to_tree should be gfc_internal_error)
2018-06-10 Dominique d'Humieres <dominiq@gcc.gnu.org> PR fortran/79854 * trans-const.c: Remove include "diagnostic-core.h". (gfc_conv_constant_to_tree): Replace fatal_error with gcc_unreachable. From-SVN: r261387
This commit is contained in:
parent
ea20e8be96
commit
dcdae924d2
@ -1,3 +1,9 @@
|
||||
2018-06-10 Dominique d'Humieres <dominiq@gcc.gnu.org>
|
||||
|
||||
PR fortran/79854
|
||||
* trans-const.c: Remove include "diagnostic-core.h".
|
||||
(gfc_conv_constant_to_tree): Replace fatal_error with gcc_unreachable.
|
||||
|
||||
2018-06-10 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/85088
|
||||
|
@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree.h"
|
||||
#include "gfortran.h"
|
||||
#include "trans.h"
|
||||
#include "diagnostic-core.h" /* For fatal_error. */
|
||||
#include "fold-const.h"
|
||||
#include "stor-layout.h"
|
||||
#include "realmpfr.h"
|
||||
@ -368,9 +367,7 @@ gfc_conv_constant_to_tree (gfc_expr * expr)
|
||||
expr->representation.string);
|
||||
|
||||
default:
|
||||
fatal_error (input_location,
|
||||
"gfc_conv_constant_to_tree(): invalid type: %s",
|
||||
gfc_typename (&expr->ts));
|
||||
gcc_unreachable ();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user