------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-23 
05:11 -------
The main difference between the C++ front-end and the C front-end in this 
respect is how they 
repesent bit-fields.
for the C++ front-end we get the following output from SRA:
Cannot scalarize variable D.1693 because its type cannot be decomposed

but for the C front-end we get:
Scan results:
D.1237: n_uses=0 n_copies=2

Initial instantiation for D.1237
Using element-copy for D.1237
  D.1237.i1 -> SR.12
  D.1237.i2 -> SR.13
  D.1237.i3 -> SR.14

So to me this looks like a SRA bug in that it should be using BIT_FIELD_REF 
instead if it can.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22156

Reply via email to