forwarded 378325 http://gcc.gnu.org/PR28243
tags 378325 + upstream
thanks

* Martin Kittel <[EMAIL PROTECTED]> [2006-07-15 16:45]:
> the following gcc call:

50017:[EMAIL PROTECTED]: ~/tmp/src/gcc/delta/bin] gcc-4.1 -c -fPIC -O2 28243.c
28243.c: In function ‘pa01CompareKeywordW’:
28243.c:25: fatal error: internal consistency failure
compilation terminated.
Preprocessed source stored into /tmp/ccqoy3Ov.out file, please attach
this to your bugreport.
zsh: exit 1     gcc-4.1 -c -fPIC -O2 28243.c
50018:[EMAIL PROTECTED]: ~/tmp/src/gcc/delta/bin]

-- 
Martin Michlmayr
http://www.cyrius.com/
typedef struct tsp1_packet_header { } tsp81_UCS2Char;
typedef struct
{
  short entry;
  unsigned char keyword[(18)];
  int order_type_key;
  unsigned short keywordW[(18)];
}
api_keyword_tab;
static api_keyword_tab keyword_tab[] = {
};
pa01CompareKeywordW (const unsigned short * strp, int * order_type)
{
  unsigned int i, len1, len2;
  for (i = 0; keyword_tab[i].entry != (99); i++)
    {
	sp81UCS2strlen ((tsp81_UCS2Char *) (keyword_tab[i].keywordW));
      len1 = len1 < len2 ? len1 : len2;
      if (memcmp (keyword_tab[i].keywordW, strp, len1) == 0)
	{
	  *order_type = keyword_tab[i].order_type_key;
	  break;
	}
    }
}

Reply via email to