summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-04 21:35:22 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-04 21:35:22 +0000
commite1f2ec6ee8253c8f0c9160cee0abb7e9f95e681a (patch)
tree6d695d31459f87f13fd0acf071a53648ceb16233 /gcc/rtl.c
parentef86678221e52489bc48c3f43d98d11f01ea80a0 (diff)
downloadgcc-e1f2ec6ee8253c8f0c9160cee0abb7e9f95e681a.tar.gz
* rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30400 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 6a1599a4ea4..80b791d2953 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */
#include "ggc.h"
#include "obstack.h"
#include "toplev.h"
+
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
@@ -923,7 +924,7 @@ read_rtx (infile)
}
if (tmp_code == UNKNOWN)
- fatal ("Unknown rtx read in rtl.read_rtx(). Code name was %s .", tmp_char);
+ fatal_with_file_and_line (infile, "unknown rtx code `%s'", tmp_char);
/* (NIL) stands for an expression that isn't there. */
if (tmp_code == NIL)
@@ -951,8 +952,7 @@ read_rtx (infile)
break;
if (j == MAX_MACHINE_MODE)
- fatal ("Unknown mode read in rtl.read_rtx(). Mode name was %s.",
- tmp_char);
+ fatal_with_file_and_line (infile, "unknown mode `%s'", tmp_char);
PUT_MODE (return_rtx, (enum machine_mode) j);
}