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:
6254883
)
exp_pakd.adb (Expand_Packed_Boolean_Operator): The bounds of the result are the bound...
author
Ed Schonberg
<schonberg@adacore.com>
Fri, 6 Apr 2007 09:21:15 +0000
(11:21 +0200)
committer
Arnaud Charlet
<charlet@gcc.gnu.org>
Fri, 6 Apr 2007 09:21:15 +0000
(11:21 +0200)
2007-04-06 Ed Schonberg <schonberg@adacore.com>
* exp_pakd.adb (Expand_Packed_Boolean_Operator): The bounds of the
result are the bounds of the left operand, not the right.
From-SVN: r123567
gcc/ada/exp_pakd.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/exp_pakd.adb
b/gcc/ada/exp_pakd.adb
index
472c0da
..
fe2eb36
100644
(file)
--- a/
gcc/ada/exp_pakd.adb
+++ b/
gcc/ada/exp_pakd.adb
@@
-1824,7
+1824,7
@@
package body Exp_Pakd is
P := Make_Op_Xor (Loc, L, R);
end if;
- Rewrite (N, Unchecked_Convert_To (
R
typ, P));
+ Rewrite (N, Unchecked_Convert_To (
L
typ, P));
end;
-- For the array case, we insert the actions