Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
49886fe1
Commit
49886fe1
authored
Nov 04, 1999
by
Richard Henderson
Committed by
Richard Henderson
Nov 04, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
From-SVN: r30400
parent
75c6bd46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/rtl.c
+3
-3
No files found.
gcc/ChangeLog
View file @
49886fe1
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
.
...
...
gcc/rtl.c
View file @
49886fe1
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment