[Issue 12095] Wrong code with -O -inline and final functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 7 03:00:37 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12095
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2014-02-07 03:00:33 PST ---
Reduced, shows it is not related to final:
---
void bug12905( int a, int b )
{
int * e = null;
if (e)
assert (a);
else
assert (b);
}
class Bug12095
{
void fun(int k) {
bug12905(k, 1);
}
}
void main()
{
Bug12095 yy = new Bug12095;
yy.fun(0);
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list