------- Comment #2 from rguenth at gcc dot gnu dot org 2007-10-16 08:55 -------
Confirmed. Reduced testcase:
typedef unsigned char uint8_t;
typedef unsigned long long uint64_t;
typedef struct SPS {
uint8_t(*top_borders[2])[16 + 2 * 8];
int neighbor_transform_size;
} H264Context;
static void fill_caches(H264Context * h, int mb_type, int for_deblock)
{
h->neighbor_transform_size = 0;
}
static inline void backup_pair_border(H264Context * h, uint8_t * src_y, int
linesize)
{
*(uint64_t *) (h->top_borders[1][linesize]) = *(uint64_t *) (src_y +
linesize);
}
void hl_decode_mb_internal(H264Context * h, int simple, int *linesize)
{
if (!simple) {
uint8_t *pair_dest_y;
backup_pair_border(h, pair_dest_y, *linesize);
fill_caches(h, 1, 1);
(*linesize)++;
fill_caches(h, 1, 1);
}
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|target |rtl-optimization
Ever Confirmed|0 |1
GCC host triplet|i386-apple-darwin8.10.1 |
GCC target triplet|i386-apple-darwin8.10.1 |i?86-*-*
Keywords| |ice-on-valid-code
Known to fail| |4.3.0 4.2.2 4.1.2 4.1.0
Known to work| |4.0.3
Last reconfirmed|0000-00-00 00:00:00 |2007-10-16 08:55:32
date| |
Summary|x86 out of registers ICE |[4.1/4.2/4.3 Regression] x86
|with -fschedule-insns - |out of registers ICE with -
|march=core2 |fschedule-insns -march=core2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33791