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
ebc25a17
Commit
ebc25a17
authored
Aug 15, 1997
by
Michael Meissner
Committed by
Michael Meissner
Aug 15, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use rtl macros for names of NOTEs.
From-SVN: r14810
parent
62603f9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
45 deletions
+16
-45
gcc/ChangeLog
+6
-0
gcc/haifa-sched.c
+10
-45
No files found.
gcc/ChangeLog
View file @
ebc25a17
Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
* haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
print out the names of the notes. Print out the name of the insn
that is not a note, and not an {,CALL_,JUMP_}INSN.
Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
* configure.in (haifa configury): Fix typo.
* configure.in (haifa configury): Fix typo.
...
...
gcc/haifa-sched.c
View file @
ebc25a17
...
@@ -7374,51 +7374,16 @@ debug_dependencies ()
...
@@ -7374,51 +7374,16 @@ debug_dependencies ()
int
n
;
int
n
;
fprintf
(
dump
,
";; %6d "
,
INSN_UID
(
insn
));
fprintf
(
dump
,
";; %6d "
,
INSN_UID
(
insn
));
if
(
GET_CODE
(
insn
)
==
NOTE
)
if
(
GET_CODE
(
insn
)
==
NOTE
)
switch
(
n
=
NOTE_LINE_NUMBER
(
insn
))
{
{
n
=
NOTE_LINE_NUMBER
(
insn
);
case
NOTE_INSN_DELETED
:
if
(
n
<
0
)
fprintf
(
dump
,
"NOTE_INSN_DELETED"
);
fprintf
(
dump
,
"%s
\n
"
,
GET_NOTE_INSN_NAME
(
n
));
break
;
else
case
NOTE_INSN_BLOCK_BEG
:
fprintf
(
dump
,
"line %d, file %s
\n
"
,
n
,
fprintf
(
dump
,
"NOTE_INSN_BLOCK_BEG"
);
NOTE_SOURCE_FILE
(
insn
));
break
;
}
case
NOTE_INSN_BLOCK_END
:
else
fprintf
(
dump
,
"NOTE_INSN_BLOCK_END"
);
fprintf
(
dump
,
" {%s}
\n
"
,
GET_RTX_NAME
(
insn
));
break
;
case
NOTE_INSN_LOOP_BEG
:
fprintf
(
dump
,
"NOTE_INSN_LOOP_BEG"
);
break
;
case
NOTE_INSN_LOOP_END
:
fprintf
(
dump
,
"NOTE_INSN_LOOP_END"
);
break
;
case
NOTE_INSN_LOOP_CONT
:
fprintf
(
dump
,
"NOTE_INSN_LOOP_CONT"
);
break
;
case
NOTE_INSN_LOOP_VTOP
:
fprintf
(
dump
,
"NOTE_INSN_LOOP_VTOP"
);
break
;
case
NOTE_INSN_FUNCTION_BEG
:
fprintf
(
dump
,
"NOTE_INSN_FUNCTION_BEG"
);
break
;
case
NOTE_INSN_FUNCTION_END
:
fprintf
(
dump
,
"NOTE_INSN_FUNCTION_END"
);
break
;
case
NOTE_INSN_EH_REGION_BEG
:
fprintf
(
dump
,
"NOTE_INSN_EH_REGION_BEG"
);
break
;
case
NOTE_INSN_EH_REGION_END
:
fprintf
(
dump
,
"NOTE_INSN_EH_REGION_END"
);
break
;
case
NOTE_INSN_SETJMP
:
fprintf
(
dump
,
"NOTE_INSN_SETJMP"
);
break
;
default
:
if
(
n
>
0
)
fprintf
(
dump
,
"NOTE_LINE_NUMBER %d"
,
n
);
else
fprintf
(
dump
,
"??? UNRECOGNIZED NOTE %d"
,
n
);
}
fprintf
(
dump
,
"
\n
"
);
continue
;
continue
;
}
}
...
...
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