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
c6279378
Commit
c6279378
authored
Aug 25, 2003
by
Ulrich Weigand
Committed by
Ulrich Weigand
Aug 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (combine_simplify_rtx): Fix RTL sharing bug.
From-SVN: r70778
parent
12ea3302
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
gcc/ChangeLog
+4
-0
gcc/combine.c
+5
-3
No files found.
gcc/ChangeLog
View file @
c6279378
2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
* combine.c (combine_simplify_rtx): Fix RTL sharing bug.
2003-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
* pretty-print.h (pp_maybe_newline_and_indent): New macro.
...
...
gcc/combine.c
View file @
c6279378
...
...
@@ -3636,9 +3636,11 @@ combine_simplify_rtx (rtx x, enum machine_mode op0_mode, int last,
return
x
;
/* Simplify the alternative arms; this may collapse the true and
false arms to store-flag values. */
true_rtx
=
subst
(
true_rtx
,
pc_rtx
,
pc_rtx
,
0
,
0
);
false_rtx
=
subst
(
false_rtx
,
pc_rtx
,
pc_rtx
,
0
,
0
);
false arms to store-flag values. Be careful to use copy_rtx
here since true_rtx or false_rtx might share RTL with x as a
result of the if_then_else_cond call above. */
true_rtx
=
subst
(
copy_rtx
(
true_rtx
),
pc_rtx
,
pc_rtx
,
0
,
0
);
false_rtx
=
subst
(
copy_rtx
(
false_rtx
),
pc_rtx
,
pc_rtx
,
0
,
0
);
/* If true_rtx and false_rtx are not general_operands, an if_then_else
is unlikely to be simpler. */
...
...
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