On Mon, Sep 09, 2013 at 01:09:12PM +0400, Michael V. Zolotukhin wrote: > I've never written torture tests before, could you please check if I did it > right?
Please don't introduce new *.x files, for tests where you need something like that just stick it into gcc.dg/torture/ instead and use normal dg stuff in there. So: /* { dg-do run } */ /* { dg-additional-options "-march=pentiumpro" { target ia32 } } */ /* { dg-additional-options "-minline-all-stringops" { target { i?86-*-* x86_64-*-* } } } */ in gcc.dg/torture/memcpy-1.c would do it. Jakub