------- Comment #1 from hjl dot tools at gmail dot com  2008-07-30 16:24 -------
[EMAIL PROTECTED] libgcc]$ cat foo.i
extern void abort (void);
typedef int SItype __attribute__ ((mode (SI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));
SItype
__addvsi3 (SItype a, SItype b)
{
  const SItype w = (USItype) a + (USItype) b;

  if (b >= 0 ? w < a : w > a)
    abort ();

  return w;
}
[EMAIL PROTECTED] libgcc]$ ../../gcc/xgcc -B../../gcc/ -O -S foo.i
foo.i: In function ‘__addvsi3’:
foo.i:13: internal compiler error: in call_from_call_insn, at final.c:1760
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[EMAIL PROTECTED] libgcc]$ 


-- 


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

Reply via email to