On 09/23/2014 08:17 AM, Andreas Arnez wrote:
Without such handling there
are cases where more DIEs than necessary are created, e.g. if we have
the following types:
some_base_t *const
some_base_t *volatile restrict
some_base_t *const volatile restrict
Then the latter is based on the first instead of the second, although
this requires one more DIE.
I think the consistency may be important for sharing across translation
units with type units. If one TU bases cv on const and another on
volatile, will the type signatures of a class that uses the cv variant
match?
Jason