public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/10383: sparc-sun-solaris2.7 G++ testsuite failures in g++.dg/eh/simd-1.C & g++.dg/eh/simd-2.C
@ 2003-04-12  4:16 ghazi
  0 siblings, 0 replies; only message in thread
From: ghazi @ 2003-04-12  4:16 UTC (permalink / raw)
  To: gcc-gnats; +Cc: rth, davem, jakub, ebotcazou


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


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

only message in thread, other threads:[~2003-04-12  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-12  4:16 target/10383: sparc-sun-solaris2.7 G++ testsuite failures in g++.dg/eh/simd-1.C & g++.dg/eh/simd-2.C ghazi

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).