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
1b2ac438
Commit
1b2ac438
authored
32 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(identify_blocks, reorder_blocks): Don't use SET_NOTE_BLOCK_NUMBER.
From-SVN: r1756
parent
3da3fb2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/function.c
+5
-5
No files found.
gcc/function.c
View file @
1b2ac438
/* Expands front end tree to back end RTL for GNU C-Compiler
Copyright (C) 1987, 1988, 1989, 1991 Free Software Foundation, Inc.
Copyright (C) 1987, 1988, 1989, 1991
, 1992
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -3569,12 +3569,12 @@ identify_blocks (top_block, insns)
{
block_stack
[
depth
++
]
=
current_block_number
;
current_block_number
=
next_block_number
;
SET_NOTE_BLOCK_NUMBER
(
insn
,
next_block_number
++
)
;
NOTE_BLOCK_NUMBER
(
insn
)
=
next_block_number
++
;
}
if
(
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_BLOCK_END
)
{
current_block_number
=
block_stack
[
--
depth
];
SET_NOTE_BLOCK_NUMBER
(
insn
,
current_block_number
)
;
NOTE_BLOCK_NUMBER
(
insn
)
=
current_block_number
;
}
}
...
...
@@ -3610,14 +3610,14 @@ reorder_blocks (block_vector, insns)
BLOCK_CHAIN
(
block
)
=
BLOCK_SUBBLOCKS
(
current_block
);
BLOCK_SUBBLOCKS
(
current_block
)
=
block
;
current_block
=
block
;
SET_NOTE_BLOCK_NUMBER
(
insn
,
0
)
;
NOTE_SOURCE_FILE
(
insn
)
=
0
;
}
if
(
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_BLOCK_END
)
{
BLOCK_SUBBLOCKS
(
current_block
)
=
blocks_nreverse
(
BLOCK_SUBBLOCKS
(
current_block
));
current_block
=
BLOCK_SUPERCONTEXT
(
current_block
);
SET_NOTE_BLOCK_NUMBER
(
insn
,
0
)
;
NOTE_SOURCE_FILE
(
insn
)
=
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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