[Issue 4751] Regression(1.062, 2.047) ICE(constfold.c) >> after error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 31 00:41:20 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4751
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
Summary|fail_compilation/fail37.d |Regression(1.062, 2.047)
|hits an assert in constfold |ICE(constfold.c) >> after
| |error
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-08-31 00:41:06 PDT ---
Reduced test case:
ulong [undefined>>1] hexarray;
ulong [undefined>>>1] hexarray2;
It doesn't fail with [undefined<<1]
This is caused by the error propagation introduced in 2.047.
PATCH constfold.c, Shr(), line 589
case Tuns64:
value = (d_uns64)(value) >> count;
break;
+ case Terror:
+ return e1;
default:
assert(0);
}
And exactly the same for UShr() line 630.
--
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