summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-01 15:48:10 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-01 15:48:10 +0000
commitd8219307493056ea48203be157f0cfb468698f2d (patch)
tree478ddc795db150bbd57b56449d13d8abe4eda8de /gcc/common.opt
parent2c650b13c41f1b61cb95cfd7ef39ef2e451887f2 (diff)
downloadgcc-d8219307493056ea48203be157f0cfb468698f2d.tar.gz
Add -fno-sync-libcalls.
* common.opt (fsync-libcalls): New. * doc/invoke.texi: Document it. * optabs.c (init_sync_libfuncs): Honor it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187017 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index af029922899..cc5797606ad 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1878,6 +1878,10 @@ fstrict-overflow
Common Report Var(flag_strict_overflow)
Treat signed overflow as undefined
+fsync-libcalls
+Common Report Var(flag_sync_libcalls) Init(1)
+Implement __atomic operations via libcalls to legacy __sync functions
+
fsyntax-only
Common Report Var(flag_syntax_only)
Check for syntax errors, then stop