This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: internal compiler error for egcs 1.1
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: internal compiler error for egcs 1.1
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 06 Dec 1998 02:43:46 -0200
- Cc: David Staepelaere <staapa at ultimatech dot com>, egcs-bugs at cygnus dot com, yumf at ultimatech dot com, egcs-patches at cygnus dot com
- References: <3627A6E0.BCB@ultimatech.com> <ord860vqmj.fsf@araguaia.dcc.unicamp.br> <19981203165959.H4673@rjlgemini.dgii.com>
On Dec 3, 1998, Robert Lipe <robertl@dgii.com> wrote:
> // Build don't link:
> // Skip if not target: sparc-*-*
> // Special g++ Options: -mcpu=ultrasparc
> // crash test - XFAIL *-*-*
> would translate into a gcc.dg entry that would start approximately like this:
> /* { dg-do compile { target sparc-*-* } } */
> /* { dg-options -mcpu=ultrasparc } */
Thanks, but how about the expected compiler crash?
Is this ok to install?
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
Index: ChangeLog
from Alexandre Oliva <oliva@dcc.unicamp.br>
* gcc.dg/ultrasp1.c: New test.
Index: gcc.dg/ultrasp1.c
===================================================================
RCS file: ultrasp1.c
diff -N ultrasp1.c
--- gcc.dg/ultrasp1.c Sat Dec 5 20:30:03 1998
+++ gcc.dg/ultrasp1.c Sat Dec 5 20:44:42 1998
@@ -0,0 +1,11 @@
+/* Simplified from testcase by David Staepelaere <staapa@ultimatech.com> */
+
+/* This causes a compiler SIG11.
+ How can this be marked as an expected failure? */
+
+/* { dg-do compile { target sparc-*-* } } */
+/* { dg-options -mcpu=ultrasparc } */
+
+int foo(long long y) {
+ return -1 * y;
+}