public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: David.Billinghurst@riotinto.com
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/10808: 3.4 irix6.5 bootstrap failure
Date: Fri, 16 May 2003 01:16:00 -0000	[thread overview]
Message-ID: <20030516010813.21260.qmail@sources.redhat.com> (raw)


>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:


                 reply	other threads:[~2003-05-16  1:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030516010813.21260.qmail@sources.redhat.com \
    --to=david.billinghurst@riotinto.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).