OSDN Git Service

Backport from 2012-03-26 mainline r185793.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / sh / sh-relax-vxworks.c
1 /* Check that -mrelax produces the correct error message.  */
2 /* { dg-do compile { target { sh-*-vxworks* && nonpic } } } */
3 /* { dg-error "-mrelax is only supported for RTP PIC" "" { target *-*-* } 0 } */
4 /* { dg-options "-O1 -mrelax" } */
5 int x;