public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: ghazi@caip.rutgers.edu
To: gcc-gnats@gcc.gnu.org
Cc: rth@redhat.com, davem@redhat.com, jakub@redhat.com,
	ebotcazou@libertysurf.fr
Subject: target/10383: sparc-sun-solaris2.7 G++ testsuite failures in g++.dg/eh/simd-1.C & g++.dg/eh/simd-2.C
Date: Sat, 12 Apr 2003 04:16:00 -0000	[thread overview]
Message-ID: <20030412040649.19801.qmail@sources.redhat.com> (raw)


>Number:         10383
>Category:       target
>Synopsis:       sparc-sun-solaris2.7 G++ testsuite failures in g++.dg/eh/simd-1.C & g++.dg/eh/simd-2.C
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 12 04:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.4 20030411 (experimental)
>Organization:
>Environment:
sparc-sun-solaris2.7

>Description:
As noted here:
http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg00685.html
I'm getting testsuite failures in g++.dg/eh/simd-1.C and g++.dg/eh/simd-2.C with mainline gcc-3.4.

Both involve compiler crashes that look like this:

simd-1.C:11: internal compiler error: in function_arg_slotno, at config/sparc/sparc.c:4526

Running simd-1.C under gdb, it gets into sparc.c:function_arg_slotno and enters a switch on a mode of V2SImode.  This mode isn't handled so it goes into the default abort clause and crashes.

The simd-2.C test does the same, except it enters with a mode of V4SImode.


>How-To-Repeat:
Target sparc-sun-solaris2.7 and compile simd-1.ii with:

cc1plus -fpreprocessed simd-1.ii -quiet -dumpbase simd-1.C -auxbase simd-1 -O -version -fmessage-length=0 -o simd-1.s

or compile simd-2.ii with:

cc1plus -fpreprocessed simd-2.ii -quiet -dumpbase simd-2.C -auxbase simd-2 -O -version -fmessage-length=0 -o simd-2.s


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="simd-2.ii"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="simd-2.ii"


                 reply	other threads:[~2003-04-12  4: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=20030412040649.19801.qmail@sources.redhat.com \
    --to=ghazi@caip.rutgers.edu \
    --cc=davem@redhat.com \
    --cc=ebotcazou@libertysurf.fr \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=rth@redhat.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).