Commit 9b703090 by Glen Nakamura Committed by Richard Henderson

* gcc.dg/20030324-1.c: Add comments and abort if test fails.

From-SVN: r65053
parent 78e68f88
2003-03-30 Glen Nakamura <glen@imodulo.com>
* gcc.dg/20030324-1.c: Add comments and abort if test fails.
2003-03-28 Roger Sayle <roger@eyesopen.com> 2003-03-28 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/ieee/fp-cmp-6.c: Correct test for -O0. * gcc.c-torture/execute/ieee/fp-cmp-6.c: Correct test for -O0.
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O -fstrength-reduce -fstrict-aliasing -fforce-mem -fgcse" } */ /* { dg-options "-O -fstrength-reduce -fstrict-aliasing -fforce-mem -fgcse" } */
/* PR optimization/10087 */
/* Contributed by Peter van Hoof <p.van-hoof@qub.ac.uk> */
extern void abort(void);
void b(int*,int*); void b(int*,int*);
typedef struct { typedef struct {
...@@ -26,7 +31,8 @@ int main(void) ...@@ -26,7 +31,8 @@ int main(void)
s = E[j][i].T1; s = E[j][i].T1;
b(&j,&i); b(&j,&i);
printf( "result %.6e\n", s); if (s != 1)
abort ();
return 0; return 0;
} }
......
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