[PATCH] D49952: Check for NULL Destination-Type when creating ArrayConstant

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 27 18:57:14 PDT 2018


rjmccall added a comment.

I think the right fix here is to ensure that `DestType` is non-null at a higher level.  Older branches of the compiler seem to be able to correctly emit this, probably because the initializer generated for this field ends up having type `a[0]`.  Maybe we've just done some refactor that tries to optimize that but doesn't handle flexible array members correctly.


Repository:
  rC Clang

https://reviews.llvm.org/D49952





More information about the cfe-commits mailing list