Re: Declaring artificial fields

2007-11-13 Thread Gabriele SVELTO
Ian Lance Taylor wrote: Are you emitting CLI directly from GIMPLE? Yes, we emit gimple right before GIMPLE is transformed into RTL so our code doesn't go through the RTL-only optimizations It may help to look at store_bit_field and extract_bit_field so see how this sort of thing is handled

Re: Declaring artificial fields

2007-11-12 Thread Ian Lance Taylor
Gabriele SVELTO <[EMAIL PROTECTED]> writes: > Since CLI doesn't support bit-fields I am trying to turn COMPONENT_REF > statements working on bit-fields into statements working on artificial > fields overlapping the bit-fields plus the necessary shift & mask > operations so as to simplify CLI emiss

Declaring artificial fields

2007-11-12 Thread Gabriele SVELTO
Hello everybody, I started working on the GCC CLI back end just a few weeks ago and I'm having some trouble declaring new fields and adding them to an already existing structure. I'm still fairly unfamiliar with gcc's code so please bear with me :) Since CLI doesn't support bit-fields I am tr