diff options
author | pfg <pfg@FreeBSD.org> | 2013-12-30 03:39:46 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-12-30 03:39:46 +0000 |
commit | 63558da0f9110285f93152cec05f2b2deb11d6b1 (patch) | |
tree | b22ed76aba1e0f646b7ae4bfef96049bf7cc95c9 /contrib/gcc/c-common.h | |
parent | 890135ba9f0c849625a36e678b4c38e5fe2eeece (diff) | |
download | FreeBSD-src-63558da0f9110285f93152cec05f2b2deb11d6b1.zip FreeBSD-src-63558da0f9110285f93152cec05f2b2deb11d6b1.tar.gz |
MFC r259005, r259092:
gcc: Add -flax-vector-conversions
gcc: new fvisibility-ms-compat option
These are useful for compatibility with newwer gcc and clang.
Obtained from: gcc 4.3 (rev. 120572, 120688, 126088; GPLv2)
Diffstat (limited to 'contrib/gcc/c-common.h')
-rw-r--r-- | contrib/gcc/c-common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/gcc/c-common.h b/contrib/gcc/c-common.h index 00c58e3..8848ea5 100644 --- a/contrib/gcc/c-common.h +++ b/contrib/gcc/c-common.h @@ -389,6 +389,10 @@ extern int flag_short_double; extern int flag_short_wchar; +/* Nonzero means allow implicit conversions between vectors with + differing numbers of subparts and/or differing element types. */ +extern int flag_lax_vector_conversions; + /* Nonzero means allow Microsoft extensions without warnings or errors. */ extern int flag_ms_extensions; @@ -791,7 +795,7 @@ extern tree finish_label_address_expr (tree); extern tree lookup_label (tree); extern tree lookup_name (tree); -extern int vector_types_convertible_p (tree t1, tree t2); +extern bool vector_types_convertible_p (tree t1, tree t2, bool emit_lax_note); extern rtx c_expand_expr (tree, rtx, enum machine_mode, int, rtx *); |