PR driver/22600
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Mar 2006 19:36:22 +0000 (19:36 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Mar 2006 19:36:22 +0000 (19:36 +0000)
commit87011ef06ed381f5716d53222fb68a2ae0863436
tree0ef1c23dc84a162b943f0131666ec56296a921be
parentf23886abacad045dae2b04895dddea4aaec2db1c
PR driver/22600
* system.h (ICE_EXIT_CODE): New macro.
* diagnostic.c (diagnostic_count_diagnostic): Exit with ICE_EXIT_CODE.
(diagnostic_action_after_output): Likewise.
* gcc.c (fatal_ice): New function.
(execute): Use it instead of fatal.
(fancy_abort): Likewise.
* doc/invoke.texi (-pass-exit-codes): Document return code for ICEs.

* fortran/error.c (gfc_fatal_error): Return ICE_EXIT_CODE instead of 4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112292 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/diagnostic.c
gcc/doc/invoke.texi
gcc/fortran/ChangeLog
gcc/fortran/error.c
gcc/gcc.c
gcc/system.h