------- Comment #2 from yakov at emc dot com  2008-12-01 18:16 -------
Subject: Re:  Wrong "is used uninitialized in this function"
 warning

Richard,
it work for me too if T_SRS_ID would be modified
typedef struct S_SPS_ID
{
   unsigned char dir;
   unsigned char loop;
   unsigned char dae_idx;
   unsigned char lcc;
   unsigned char rack_side;
   unsigned char rack_indx;
   unsigned char in_rack_loc;
   unsigned char pad;
} T_SPS_ID;
like this:
typedef struct S_SPS_ID
{
   unsigned char dir;
   unsigned char loop;
   unsigned char dae_idx;
   unsigned char lcc;
   unsigned char rack_side;
   unsigned char rack_indx;
   unsigned long pad;
} T_SPS_ID;
Also it would works with this modification:
typedef struct S_SPS_ID
{
   unsigned short dir;
   unsigned short lcc;
   unsigned short rack_side;
   unsigned short pad;
} T_SPS_ID;


thanks,
yakov


rguenth at gcc dot gnu dot org wrote:
> ------- Comment #1 from rguenth at gcc dot gnu dot org  2008-12-01 09:45 
> -------
> works for me
>
>
>   


-- 


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

Reply via email to