Re: [PATCH 03/11] Fix PCH crash on GTYed pointer-to-scalar field of a

2012-04-10 Thread Laurynas Biveinis
2012 m. balandis 10 d. 18:08, Dodji Seketeli rašė: > gcc/ > >        * gengtype.c (write_types_process_field):  Force second argument >        of the call to the PCH object hierarchy walker to be 'x'. I guess it'd be better if we separated prev_val[3] and constant "x" uses to separate walk_type_

[PATCH 03/11] Fix PCH crash on GTYed pointer-to-scalar field of a

2012-04-10 Thread Dodji Seketeli
Disclaimer: I am sorry for the length of this message. In essence, it's just a one liner fix in gengtype.c. I felt the need to explain extensively what I think I understood because it didn't seem obvious to me. So, when -ftrack-macro-expansion is activated, the PCH generation machinery can crash