public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/10808: 3.4 irix6.5 bootstrap failure
@ 2003-05-16  1:16 David.Billinghurst
  0 siblings, 0 replies; only message in thread
From: David.Billinghurst @ 2003-05-16  1:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10808
>Category:       bootstrap
>Synopsis:       3.4 irix6.5 bootstrap failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 16 01:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        unknown-1.0
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
irix6.5 bootstrap of 3.4 cvs of 20040515 fails in stage2 with

/d5/billingd/obj/gcc/gcc/xgcc -B/d5/billingd/obj/gcc/gcc/ -B/d5/billingd/tmp/gcc/mips-sgi-irix6.5/bin/ -B/d5/billingd/tmp/gcc/mips-sgi-irix6.5/lib/ -isystem /d5/billingd/tmp/gcc/mips-sgi-irix6.5/include -isystem /d5/billingd/tmp/gcc/mips-sgi-irix6.5/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/d2/billingd/src/gcc/gcc -I/d2/billingd/src/gcc/gcc/. -I/d2/billingd/src/gcc/gcc/config -I/d2/billingd/src/gcc/gcc/../include  -DL_negdi2 -c /d2/billingd/src/gcc/gcc/libgcc2.c -o libgcc/./_negdi2.o

/d2/billingd/src/gcc/gcc/libgcc2.c: In function `__negdi2':
/d2/billingd/src/gcc/gcc/libgcc2.c:72: internal compiler error: Segmentation fault

The reduced test case is
typedef int SItype __attribute__ ((mode (SI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));
typedef int DItype __attribute__ ((mode (DI)));

struct DWstruct {SItype high, low;};

typedef union
{
  struct DWstruct s;
  DItype ll;
} DWunion;

DItype
__negdi2 (DItype u)
{
  DWunion w;
  DWunion uu;

  uu.ll = u;

  w.s.low = -uu.s.low;
  w.s.high = -uu.s.high - ((USItype) w.s.low > 0);

  return w.ll;
}


which fails with

/d5/billingd/obj/gcc/gcc/cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -auxbase-strip libgcc/./_negdi2.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -o libgcc2.s
GNU C version 3.4 20030515 (experimental) (mips-sgi-irix6.5)
        compiled by GNU C version 3.4 20030515 (experimental).
GGC heuristics: --param ggc-min-expand=65 --param ggc-min-heapsize=65536
libgcc2.i:15: warning: no previous prototype for `__negdi2'
libgcc2.i: In function `__negdi2':
libgcc2.i:22: internal compiler error: Segmentation fault

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-16  1:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-16  1:16 bootstrap/10808: 3.4 irix6.5 bootstrap failure David.Billinghurst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).