Re: Struct declaration and initialization in TREES

2019-12-19 Thread Erick Ochoa
On 2019-12-18 1:33 p.m., Erick Ochoa wrote: > > > On 2019-12-18 6:02 a.m., Richard Biener wrote: >> On December 17, 2019 8:31:00 PM GMT+01:00, Erick Ochoa >> wrote: >>> Hi, >>> >>> I'm interested in printing VAR_DECL trees that are of type >>> RECORD_TYPE. I am using the function print_gener

Re: Struct declaration and initialization in TREES

2019-12-18 Thread Erick Ochoa
On 2019-12-18 6:02 a.m., Richard Biener wrote: > On December 17, 2019 8:31:00 PM GMT+01:00, Erick Ochoa > wrote: >> Hi, >> >> I'm interested in printing VAR_DECL trees that are of type >> RECORD_TYPE. I am using the function print_generic_decl >> for debugging and found this interesting behavi

Re: Struct declaration and initialization in TREES

2019-12-18 Thread Richard Biener
On December 17, 2019 8:31:00 PM GMT+01:00, Erick Ochoa wrote: >Hi, > >I'm interested in printing VAR_DECL trees that are of type >RECORD_TYPE. I am using the function print_generic_decl >for debugging and found this interesting behaviour. > >When I do initialization of structs using the following

Struct declaration and initialization in TREES

2019-12-17 Thread Erick Ochoa
Hi, I'm interested in printing VAR_DECL trees that are of type RECORD_TYPE. I am using the function print_generic_decl for debugging and found this interesting behaviour. When I do initialization of structs using the following syntax: ``` struct aStruct { _Bool e; int a; char b; float c; double