[PATCH] c: Add support for byte arrays in C2Y

2024-06-29 Thread Martin Uecker
This marks structures which include a byte array as typeless storage. Bootstrapped and regression tested on x86_64. c: Add support for byte arrays in C2Y To get correct aliasing behavior requires that structures and unions that contain a byte array, i.e. an array of non-atom

Re: [PATCH] c: Add support for byte arrays in C2Y

2024-07-09 Thread Joseph Myers
On Sat, 29 Jun 2024, Martin Uecker wrote: > + bool typeless = flag_isoc2y > + && ((char_type_p (type) > + && !(type_quals & TYPE_QUAL_ATOMIC)) > + || (AGGREGATE_TYPE_P (type) > +

Re: [PATCH] c: Add support for byte arrays in C2Y

2024-07-09 Thread Martin Uecker
Am Dienstag, dem 09.07.2024 um 17:28 + schrieb Joseph Myers: > On Sat, 29 Jun 2024, Martin Uecker wrote: > > > + bool typeless = flag_isoc2y > > + && ((char_type_p (type) > > +&& !(type_quals & TYPE_QUAL_ATOMIC)) > > +