* rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
authorRichard Henderson <rth@cygnus.com>
Thu, 4 Nov 1999 21:35:22 +0000 (13:35 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 4 Nov 1999 21:35:22 +0000 (13:35 -0800)
From-SVN: r30400

gcc/ChangeLog
gcc/rtl.c

index 66468139e0ce815f39cc4572f3ee116eed347451..b0cc01803a1e48031959e1144fba8fafd53fe6de 100644 (file)
@@ -1,3 +1,7 @@
+Thu Nov  4 13:33:46 1999  Richard Henderson  <rth@cygnus.com>
+
+       * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
+
 Thu Nov  4 12:49:52 1999  Richard Henderson  <rth@cygnus.com>
 
        * cse.c (cse_main): Use xmalloc, not alloca.
index 6a1599a4ea4621dd1c14d2139c96a56afb30be3a..80b791d295332624a3fe9a6703aafa784b92581a 100644 (file)
--- 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);
     }