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
2315a5db
Commit
2315a5db
authored
Nov 15, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(twoval_comparison_p): Do nothing for SAVE_EXPR, at least for now.
From-SVN: r6090
parent
0ba9317e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/fold-const.c
+6
-0
No files found.
gcc/fold-const.c
View file @
2315a5db
...
...
@@ -1921,6 +1921,11 @@ twoval_comparison_p (arg, cval1, cval2, save_p)
&&
(
code
==
TRUTH_ANDIF_EXPR
||
code
==
TRUTH_ORIF_EXPR
||
code
==
COMPOUND_EXPR
))
class
=
'2'
;
/* ??? Disable this since the SAVE_EXPR might already be in use outside
the expression. There may be no way to make this work, but it needs
to be looked at again for 2.6. */
#if 0
else if (class == 'e' && code == SAVE_EXPR && SAVE_EXPR_RTL (arg) == 0)
{
/* If we've already found a CVAL1 or CVAL2, this expression is
...
...
@@ -1931,6 +1936,7 @@ twoval_comparison_p (arg, cval1, cval2, save_p)
class = '1';
*save_p = 1;
}
#endif
switch
(
class
)
{
...
...
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