[Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
------- Comment #3 from tbm at cyrius dot com 2006-07-15 20:10 -------
Here's another test case, taken from maxdb:
50015:tbm@deprecation: ~/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/cc4ogkHJ.out file, please attach this to
your bugreport.
zsh: exit 1 gcc-4.1 -c -fPIC -O2 28243.c
50016:tbm@deprecation: ~/tmp/src/gcc/delta/bin] cat 28243.c
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;
}
}
}
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbm at cyrius dot com,
| |debian-gcc at lists dot
| |debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: