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
0a377997
Commit
0a377997
authored
Jun 19, 2000
by
Richard Kenner
Committed by
Richard Kenner
Jun 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
From-SVN: r34592
parent
c357082f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
gcc/ChangeLog
+2
-0
gcc/gcse.c
+3
-4
No files found.
gcc/ChangeLog
View file @
0a377997
Sun Jun 18 21:42:15 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Sun Jun 18 21:42:15 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
* function.c (put_var_into_stack): Don't reference DECL_ fields
* function.c (put_var_into_stack): Don't reference DECL_ fields
if input is a SAVE_EXPR.
if input is a SAVE_EXPR.
Use set_mem_attributes in COMPLEX case.
Use set_mem_attributes in COMPLEX case.
...
...
gcc/gcse.c
View file @
0a377997
...
@@ -4346,10 +4346,9 @@ insert_insn_end_bb (expr, bb, pre)
...
@@ -4346,10 +4346,9 @@ insert_insn_end_bb (expr, bb, pre)
If we inserted before the CODE_LABEL, then we would be putting
If we inserted before the CODE_LABEL, then we would be putting
the insn in the wrong basic block. In that case, put the insn
the insn in the wrong basic block. In that case, put the insn
after the CODE_LABEL. Also, respect NOTE_INSN_BASIC_BLOCK. */
after the CODE_LABEL. Also, respect NOTE_INSN_BASIC_BLOCK. */
if
(
GET_CODE
(
insn
)
==
CODE_LABEL
)
while
(
GET_CODE
(
insn
)
==
CODE_LABEL
insn
=
NEXT_INSN
(
insn
);
||
(
GET_CODE
(
insn
)
==
NOTE
else
if
(
GET_CODE
(
insn
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_BASIC_BLOCK
))
&&
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_BASIC_BLOCK
)
insn
=
NEXT_INSN
(
insn
);
insn
=
NEXT_INSN
(
insn
);
new_insn
=
emit_block_insn_before
(
pat
,
insn
,
BASIC_BLOCK
(
bb
));
new_insn
=
emit_block_insn_before
(
pat
,
insn
,
BASIC_BLOCK
(
bb
));
...
...
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