[Issue 9387] Compiler switch -O changes behavior of correct code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 30 00:20:17 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9387
--- Comment #14 from Don <clugdbug at yahoo.com.au> 2013-01-30 00:20:15 PST ---
ICE, further reduced:
--------------
void bug9387a(double x) { }
void ice9387()
{
double x = 0.3;
double r = x*0.1;
double q = x*0.1 + r;
double p = x*0.1 + r*0.2;
if ( q )
p = -p;
bug9387a(p);
}
--
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