public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: ghazi@caip.rutgers.edu
To: gcc-gnats@gcc.gnu.org
Cc: mark@codesourcery.com
Subject: c++/9114: sparc-solaris2.7: cc1plus crashes on g++.dg/compat/break/bitfield7
Date: Tue, 31 Dec 2002 14:36:00 -0000	[thread overview]
Message-ID: <20021231222703.13371.qmail@sources.redhat.com> (raw)


>Number:         9114
>Category:       c++
>Synopsis:       sparc-solaris2.7: cc1plus crashes on g++.dg/compat/break/bitfield7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 31 14:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.4 20021230 (experimental)
>Organization:
>Environment:
sparc-sun-solaris2.7
>Description:
When running the g++ testsuite, I get this failure:

 > FAIL: g++.dg/compat/break/bitfield7 y_tst.o compile
 > UNRESOLVED: g++.dg/compat/break/bitfield7 x_tst.o-y_tst.o link 
 > UNRESOLVED: g++.dg/compat/break/bitfield7 x_tst.o-y_tst.o execute 

as seen here:
http://gcc.gnu.org/ml/gcc-testresults/2002-12/msg01296.html

The g++.log file shows:

 > /teal/caip5/ghazi/gcc-testing/egcc-CVS20021230/gcc/testsuite/g++.dg/compat/break/bitfield7_y.C: >  In function `void bitfield7_y(U*)':
 > /teal/caip5/ghazi/gcc-testing/egcc-CVS20021230/gcc/testsuite/g++.dg/compat/break/bitfield7_y.C: > 7: internal compiler error: in simplify_gen_subreg, at simplify-rtx.c:2637
 > Please submit a full bug report,

>How-To-Repeat:
Compile using:

cc1plus -fpreprocessed bitfield7_y.ii -quiet -dumpbase bitfield7_y.C -auxbase-strip y_tst.o -w -version -fmessage-length=0 -o bitfield7_y.s

# 1 "/teal/caip5/ghazi/gcc-testing/egcc-CVS20021230/gcc/testsuite/g++.dg/compat/break/bitfield7_y.C"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/teal/caip5/ghazi/gcc-testing/egcc-CVS20021230/gcc/testsuite/g++.dg/compat/break/bitfield7_y.C"
extern "C" void abort (void);

# 1 "/teal/caip5/ghazi/gcc-testing/egcc-CVS20021230/gcc/testsuite/g++.dg/compat/break/bitfield7.h" 1
union U {
  int i: 4096;
};
# 4 "/teal/caip5/ghazi/gcc-testing/egcc-CVS20021230/gcc/testsuite/g++.dg/compat/break/bitfield7_y.C" 2

void bitfield7_y (U* u)
{
  if (u[0].i != 7)
    abort ();
  if (u[1].i != 8)
    abort ();
}
>Fix:

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


             reply	other threads:[~2002-12-31 22:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-31 14:36 ghazi [this message]
2003-03-16  8:50 ebotcazou

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=20021231222703.13371.qmail@sources.redhat.com \
    --to=ghazi@caip.rutgers.edu \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=mark@codesourcery.com \
    /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).