I'm getting the following ICE with trunk on x86_64.  It compiles fine
on ia64 and powerpc.

(sid)2653:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2
mplayer-mpegvideo.c
mplayer-mpegvideo.c: In function 'MPV_encode_init':
mplayer-mpegvideo.c:21: internal compiler error: in df_refs_verify, at
df-scan.c:4065
Please submit a full bug report,

Testcase:


typedef struct AVCodecContext
{
  int flags;
  void *priv_data;
  char codec_name[32];
}
AVCodecContext;
typedef struct ScanTable
{
  int obmc;
  int umvplus;
  int h263_aic;
}
MpegEncContext;
MPV_encode_init (AVCodecContext *avctx)
{
  MpegEncContext *s = avctx->priv_data;
  s->umvplus = (avctx->flags & 0x02000000) ? 1 : 0;
  s->h263_aic = (avctx->flags & 0x01000000) ? 1 : 0;
  s->h263_aic = s->obmc || s->umvplus;
}


-- 
           Summary: [4.3 Regression] ICE in df_refs_verify, at df-
                    scan.c:4065
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: x86_64-linux-gnu


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

Reply via email to