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
a31efb86
Commit
a31efb86
authored
Apr 26, 1993
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(NOTE_INSN_FUNCTION_BEG): Make non-zero.
From-SVN: r4226
parent
0020519f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
gcc/rtl.c
+2
-2
gcc/rtl.h
+14
-5
No files found.
gcc/rtl.c
View file @
a31efb86
...
...
@@ -170,13 +170,13 @@ char rtx_class[] = {
/* Names for kinds of NOTEs and REG_NOTEs. */
char
*
note_insn_name
[]
=
{
"NOTE_INSN_FUNCTION_BEG"
,
"NOTE_INSN_DELETED"
,
char
*
note_insn_name
[]
=
{
0
,
"NOTE_INSN_DELETED"
,
"NOTE_INSN_BLOCK_BEG"
,
"NOTE_INSN_BLOCK_END"
,
"NOTE_INSN_LOOP_BEG"
,
"NOTE_INSN_LOOP_END"
,
"NOTE_INSN_FUNCTION_END"
,
"NOTE_INSN_SETJMP"
,
"NOTE_INSN_LOOP_CONT"
,
"NOTE_INSN_LOOP_VTOP"
,
"NOTE_INSN_PROLOGUE_END"
,
"NOTE_INSN_EPILOGUE_BEG"
,
"NOTE_INSN_DELETED_LABEL"
};
"NOTE_INSN_DELETED_LABEL"
,
"NOTE_INSN_FUNCTION_BEG"
};
char
*
reg_note_name
[]
=
{
""
,
"REG_DEAD"
,
"REG_INC"
,
"REG_EQUIV"
,
"REG_WAS_0"
,
"REG_EQUAL"
,
"REG_RETVAL"
,
"REG_LIBCALL"
,
...
...
gcc/rtl.h
View file @
a31efb86
...
...
@@ -353,11 +353,17 @@ extern char *reg_note_name[];
#define NOTE_LINE_NUMBER(INSN) ((INSN)->fld[4].rtint)
/* Codes that appear in the NOTE_LINE_NUMBER field
for kinds of notes that are not line numbers.
*/
for kinds of notes that are not line numbers.
/* This note indicates the end of the real body of the function,
after moving the parms into their homes, etc. */
#define NOTE_INSN_FUNCTION_BEG 0
Notice that we do not try to use zero here for any of
the special note codes because sometimes the source line
actually can be zero! This happens (for example) when we
are generating code for the per-translation-unit constructor
and destructor routines for some C++ translation unit.
If you should change any of the following values, or if you
should add a new value here, don't forget to change the
note_insn_name array in rtl.c. */
/* This note is used to get rid of an insn
when it isn't safe to patch the insn out of the chain. */
...
...
@@ -384,7 +390,10 @@ extern char *reg_note_name[];
#define NOTE_INSN_EPILOGUE_BEG -11
/* Generated in place of user-declared labels when they are deleted. */
#define NOTE_INSN_DELETED_LABEL -12
/* Don't forget to change note_insn_name in rtl.c. */
/* This note indicates the start of the real body of the function,
i.e. the point just after all of the parms have been moved into
their homes, etc. */
#define NOTE_INSN_FUNCTION_BEG -13
#if 0 /* These are not used, and I don't know what they were for. --rms. */
...
...
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