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
1965dd3a
Commit
1965dd3a
authored
Apr 24, 2007
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flow.c (elim_reg_cond): Handle a comparison of a subreg.
From-SVN: r124122
parent
438d798f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
gcc/ChangeLog
+7
-2
gcc/flow.c
+7
-1
No files found.
gcc/ChangeLog
View file @
1965dd3a
2007-04-24 Ian Lance Taylor <iant@google.com>
* flow.c (elim_reg_cond): Handle a comparison of a subreg.
2007-04-24 Simon Martin <simartin@users.sourceforge.net>
2007-04-24 Simon Martin <simartin@users.sourceforge.net>
PR diagnostic/25923
PR diagnostic/25923
* tree-pass.h (TDF_DIAGNOSTIC): New dump control to specify that a
* tree-pass.h (TDF_DIAGNOSTIC): New dump control to specify that a
diagnostic message is being built.
diagnostic message is being built.
* tree-pretty-print.c (dump_generic_node): Only write the formatted text
* tree-pretty-print.c (dump_generic_node): Only write the
into BUFFER's stream if we are not building a diagnostic message.
formatted text into BUFFER's stream if we are not building a
diagnostic message.
* toplev.c (default_tree_printer): Pass TDF_DIAGNOSTIC to
* toplev.c (default_tree_printer): Pass TDF_DIAGNOSTIC to
dump_generic_node.
dump_generic_node.
* Makefile.in (toplev.o): Depend on tree-pass.h.
* Makefile.in (toplev.o): Depend on tree-pass.h.
...
...
gcc/flow.c
View file @
1965dd3a
...
@@ -3437,7 +3437,13 @@ elim_reg_cond (rtx x, unsigned int regno)
...
@@ -3437,7 +3437,13 @@ elim_reg_cond (rtx x, unsigned int regno)
if
(
COMPARISON_P
(
x
))
if
(
COMPARISON_P
(
x
))
{
{
if
(
REGNO
(
XEXP
(
x
,
0
))
==
regno
)
rtx
reg
;
reg
=
XEXP
(
x
,
0
);
if
(
GET_CODE
(
reg
)
==
SUBREG
)
reg
=
SUBREG_REG
(
reg
);
gcc_assert
(
REG_P
(
reg
));
if
(
REGNO
(
reg
)
==
regno
)
return
const0_rtx
;
return
const0_rtx
;
return
x
;
return
x
;
}
}
...
...
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