[PATCH v2] Skip VLA structure field tests when compiling with clang

Pedro Alves pedro@palves.net
Fri Jul 10 14:31:13 GMT 2020


On 7/10/20 1:00 PM, Gary Benson via Gdb-patches wrote:

>>> +# Clang says it will never support variable length arrays in structures.
>>> +if {[test_compiler_info clang*]} {
>>> +    unsupported "compiler does not variable length arrays in structure"
>>
>>                                       ^^^ support?
>>
>> Otherwise this looks good to me. Can't approve a commit though.
> 
> Good catch.  Thanks for your review, I've fixed this in my tree.

This is OK with that fixed.

Thanks,
Pedro Alves


More information about the Gdb-patches mailing list