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

Gary Benson gbenson@redhat.com
Mon Jul 13 13:49:33 GMT 2020


Pedro Alves wrote:
> 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, I've pushed it.

Cheers,
Gary

-- 
Gary Benson - he / him / his
Principal Software Engineer, Red Hat



More information about the Gdb-patches mailing list