It seems as though VRP is a language feature, and not a compiler feature -- since this allows some code to compile and not others. Is there a specification for how it should work somewhere? If not, it's hard to implement other compilers that will not generate errors in the same circumstances as DMD.
A couple of us working on SDC are trying to get ValueRange propigation
implemented. I was wonder if someone could offer some insight as to
how VRP works in DMD. If for example, trying to get the value range
of a global, what is the expected behavior?
- Value Range Propigation Spec Shammah Chancellor via Digitalmars-d
- Re: Value Range Propigation Spec via Digitalmars-d
- Re: Value Range Propigation Spec Walter Bright via Digitalmars-d
- Re: Value Range Propigation ... Shammah Chancellor via Digitalmars-d
- Re: Value Range Propigat... bearophile via Digitalmars-d
- Re: Value Range Prop... deadalnix via Digitalmars-d
- Re: Value Range... bearophile via Digitalmars-d
- Re: Value R... Stefan Koch via Digitalmars-d
- Re: Val... bearophile via Digitalmars-d
- Re: Val... Stefan Koch via Digitalmars-d
- Re: Value Range Propigat... Walter Bright via Digitalmars-d
