Jeroen Demeyer on Thu, 06 Oct 2016 07:56:27 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: is_universal_constant() assumes that gen_0 <= ghalf


On 2016-10-04 17:48, Karim Belabas wrote:
2) I don't think that we can rely on the address of 'readonly_constants'
to be already fixed within its initializer (even though it works in
practice with the compilers I tried); this is bad.

There is some discussion about this at http://stackoverflow.com/questions/25683034/defining-a-pointer-to-refere-to-same-variable-names-reference

The answer is that it's perfectly fine to do what I did.