Merge branch 'drm-intel-fixes-2' of ssh://master.kernel.org/pub/scm/linux/kernel...
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / scripts / gcc-goto.sh
blob520d16b1ffaf72c4c3171d97dfd1e37893523ef8
1 #!/bin/sh
2 # Test for gcc 'asm goto' suport
3 # Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
5 echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"