This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: internal compiler error for egcs 1.1


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;
+}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]