https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 6fedada7bb7a01d4aabd6238a558400f339923c6 authored by Jason Self on 28 November 2011, 22:48:31 UTC
Linux-libre 3.1.4-gnu1
Tip revision: 6fedada
gcc-goto.sh
#!/bin/sh
# Test for gcc 'asm goto' support
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>

echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
back to top