projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b578eb
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Tue, 30 Jun 1992 03:53:40 +0000
(
03:53
+0000)
committer
Richard Stallman
<rms@gnu.org>
Tue, 30 Jun 1992 03:53:40 +0000
(
03:53
+0000)
From-SVN: r1359
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index
e1ad1ca
..
baea8f4
100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-2613,7
+2613,10
@@
merge_component_references (code, truth_type, lhs, rhs)
if (l_const == 0)
{
if (ll_bitsize != lr_bitsize || rl_bitsize != rr_bitsize
- || ll_unsignedp != lr_unsignedp || rl_unsignedp != rr_unsignedp)
+ || ll_unsignedp != lr_unsignedp || rl_unsignedp != rr_unsignedp
+ /* Make sure the two fields on the right
+ correspond to the left without being swapped. */
+ || ll_bitpos - rl_bitpos != lr_bitpos - rr_bitpos)
return 0;
first_bit = MIN (lr_bitpos, rr_bitpos);