Commit 37eb01c2 by Richard Sandiford Committed by Richard Sandiford

pr59605.c: Convert to a compile test.

gcc/testsuite/
	* gcc.dg/pr59605.c: Convert to a compile test.  Protect MAX_COPY
	definition with an ifndef.
	* gcc.dg/pr59605-2.c: New test.

From-SVN: r207748
parent 9f8da907
2014-02-13 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/pr59605.c: Convert to a compile test. Protect MAX_COPY
definition with an ifndef.
* gcc.dg/pr59605-2.c: New test.
2014-02-13 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/gomp/simd-clones-5.c: Update comment for new warning message.
2014-02-12 Joseph Myers <joseph@codesourcery.com>
......
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-DMAX_COPY=1025" { target simulator } } */
/* { dg-additional-options "-minline-stringops-dynamically" { target { i?86-*-* x86_64-*-* } } } */
#include "pr59605.c"
/* { dg-do run } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-minline-stringops-dynamically" { target { i?86-*-* x86_64-*-* } } } */
extern void abort (void);
#define MAX_OFFSET (sizeof (long long))
#ifndef MAX_COPY
#define MAX_COPY (1024 + 8192)
#endif
#define MAX_EXTRA (sizeof (long long))
#define MAX_LENGTH (MAX_OFFSET + MAX_COPY + MAX_EXTRA)
......
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