summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/strncmp-1.x
blob: b555e0c8f2a116043139fbc690eb92d2c5e10a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if {[istarget i?86-*-vxworks*]
    || [istarget mips*-*-vxworks*]
    || [istarget sh*-*-vxworks*]
    || [istarget sparc*-*-vxworks*]} {
    # The kernel strncmp doesn't perform unsigned comparisons.
    set torture_eval_before_execute {
	global compiler_conditional_xfail_data
	set compiler_conditional_xfail_data {
	    "The kernel strncmp doesn't perform unsigned comparisons."
	    { "*-*-*" }
	    {}
	    { "-mrtp" }
	}
    }
}
return 0