[Issue 1149] Optimizer: obsolete array length loads, common subexpr. elimin. not working
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 22 20:00:31 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1149
--- Comment #5 from bearophile_hugs at eml.cc 2012-02-22 20:00:29 PST ---
(In reply to comment #4)
> Oops. I tried to disable it for floating point and ended up disabling it for
> all non-integers.
I have tried it with this code:
void main() {
int[] arr;
arr.length = 4;
arr[0] = 1;
arr[1] = 1;
arr[2] = 1;
arr[3] = 1;
}
And I am seeing something similar to the uint[] case.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list