Commit 28833504 by Jim Wilson Committed by Jim Wilson

Testcase for emit_group_store patch.

	* gcc.c-torture/compile/981007-1.c: New test for irix6 -O0 core dump.

From-SVN: r22892
parent 3947e2f9
Wed Oct 7 12:00:20 1998 Jim Wilson <wilson@cygnus.com>
* gcc.c-torture/compile/981007-1.c: New test for irix6 -O0 core dump.
1998-10-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/friend35.C: New test. A template function
......
extern double fabs (double);
extern double sqrt (double);
typedef struct complexm {
double re,im;
} complex;
static complex
setCom (double r, double i)
{
complex ct;
ct.re=fabs(r)<1E-300?0.0:r;
ct.im=fabs(i)<1E-300?0.0:i;
return ct;
}
static complex
csqrt_crash (double x)
{
return (x>=0) ? setCom(sqrt(x),0) : setCom(0,sqrt(-x));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment