Mercurial > hg > CbC > CbC_gcc
comparison gcc/c-common.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
112 RID_IS_POD, RID_IS_POLYMORPHIC, | 112 RID_IS_POD, RID_IS_POLYMORPHIC, |
113 RID_IS_STD_LAYOUT, RID_IS_TRIVIAL, | 113 RID_IS_STD_LAYOUT, RID_IS_TRIVIAL, |
114 RID_IS_UNION, | 114 RID_IS_UNION, |
115 | 115 |
116 /* C++0x */ | 116 /* C++0x */ |
117 RID_STATIC_ASSERT, RID_CONSTEXPR, RID_DECLTYPE, | 117 RID_CONSTEXPR, RID_DECLTYPE, RID_NULLPTR, RID_STATIC_ASSERT, |
118 | 118 |
119 /* Objective-C */ | 119 /* Objective-C */ |
120 RID_AT_ENCODE, RID_AT_END, | 120 RID_AT_ENCODE, RID_AT_END, |
121 RID_AT_CLASS, RID_AT_ALIAS, RID_AT_DEFS, | 121 RID_AT_CLASS, RID_AT_ALIAS, RID_AT_DEFS, |
122 RID_AT_PRIVATE, RID_AT_PROTECTED, RID_AT_PUBLIC, | 122 RID_AT_PRIVATE, RID_AT_PROTECTED, RID_AT_PUBLIC, |
153 RID_MAX, | 153 RID_MAX, |
154 | 154 |
155 RID_FIRST_MODIFIER = RID_STATIC, | 155 RID_FIRST_MODIFIER = RID_STATIC, |
156 RID_LAST_MODIFIER = RID_ONEWAY, | 156 RID_LAST_MODIFIER = RID_ONEWAY, |
157 | 157 |
158 RID_FIRST_CXX0X = RID_STATIC_ASSERT, | 158 RID_FIRST_CXX0X = RID_CONSTEXPR, |
159 RID_LAST_CXX0X = RID_DECLTYPE, | 159 RID_LAST_CXX0X = RID_STATIC_ASSERT, |
160 RID_FIRST_AT = RID_AT_ENCODE, | 160 RID_FIRST_AT = RID_AT_ENCODE, |
161 RID_LAST_AT = RID_AT_IMPLEMENTATION, | 161 RID_LAST_AT = RID_AT_IMPLEMENTATION, |
162 RID_FIRST_PQ = RID_IN, | 162 RID_FIRST_PQ = RID_IN, |
163 RID_LAST_PQ = RID_ONEWAY | 163 RID_LAST_PQ = RID_ONEWAY |
164 }; | 164 }; |
593 | 593 |
594 /* Nonzero means enable C89 Amendment 1 features. */ | 594 /* Nonzero means enable C89 Amendment 1 features. */ |
595 | 595 |
596 extern int flag_isoc94; | 596 extern int flag_isoc94; |
597 | 597 |
598 /* Nonzero means use the ISO C99 dialect of C. */ | 598 /* Nonzero means use the ISO C99 (or C1X) dialect of C. */ |
599 | 599 |
600 extern int flag_isoc99; | 600 extern int flag_isoc99; |
601 | |
602 /* Nonzero means use the ISO C1X dialect of C. */ | |
603 | |
604 extern int flag_isoc1x; | |
601 | 605 |
602 /* Nonzero means that we have builtin functions, and main is an int. */ | 606 /* Nonzero means that we have builtin functions, and main is an int. */ |
603 | 607 |
604 extern int flag_hosted; | 608 extern int flag_hosted; |
605 | 609 |
743 | 747 |
744 /* Nonzero if we want to pretty-print template specializations as the | 748 /* Nonzero if we want to pretty-print template specializations as the |
745 template signature followed by the arguments. */ | 749 template signature followed by the arguments. */ |
746 | 750 |
747 extern int flag_pretty_templates; | 751 extern int flag_pretty_templates; |
748 | |
749 /* Nonzero means warn about implicit declarations. */ | |
750 | |
751 extern int warn_implicit; | |
752 | 752 |
753 /* Warn about using __null (as NULL in C++) as sentinel. For code compiled | 753 /* Warn about using __null (as NULL in C++) as sentinel. For code compiled |
754 with GCC this doesn't matter as __null is guaranteed to have the right | 754 with GCC this doesn't matter as __null is guaranteed to have the right |
755 size. */ | 755 size. */ |
756 | 756 |
820 extern bool check_builtin_function_arguments (tree, int, tree *); | 820 extern bool check_builtin_function_arguments (tree, int, tree *); |
821 extern void check_function_format (tree, int, tree *); | 821 extern void check_function_format (tree, int, tree *); |
822 extern void set_Wformat (int); | 822 extern void set_Wformat (int); |
823 extern tree handle_format_attribute (tree *, tree, tree, int, bool *); | 823 extern tree handle_format_attribute (tree *, tree, tree, int, bool *); |
824 extern tree handle_format_arg_attribute (tree *, tree, tree, int, bool *); | 824 extern tree handle_format_arg_attribute (tree *, tree, tree, int, bool *); |
825 extern int c_common_handle_option (size_t code, const char *arg, int value); | 825 extern bool attribute_takes_identifier_p (const_tree); |
826 extern int c_common_handle_option (size_t code, const char *arg, int value, int kind); | |
826 extern bool c_common_missing_argument (const char *opt, size_t code); | 827 extern bool c_common_missing_argument (const char *opt, size_t code); |
827 extern tree c_common_type_for_mode (enum machine_mode, int); | 828 extern tree c_common_type_for_mode (enum machine_mode, int); |
828 extern tree c_common_type_for_size (unsigned int, int); | 829 extern tree c_common_type_for_size (unsigned int, int); |
829 extern tree c_common_fixed_point_type_for_size (unsigned int, unsigned int, | 830 extern tree c_common_fixed_point_type_for_size (unsigned int, unsigned int, |
830 int, int); | 831 int, int); |
843 extern tree c_alignof_expr (location_t, tree); | 844 extern tree c_alignof_expr (location_t, tree); |
844 /* Print an error message for invalid operands to arith operation CODE. | 845 /* Print an error message for invalid operands to arith operation CODE. |
845 NOP_EXPR is used as a special case (see truthvalue_conversion). */ | 846 NOP_EXPR is used as a special case (see truthvalue_conversion). */ |
846 extern void binary_op_error (location_t, enum tree_code, tree, tree); | 847 extern void binary_op_error (location_t, enum tree_code, tree, tree); |
847 extern tree fix_string_type (tree); | 848 extern tree fix_string_type (tree); |
848 struct varray_head_tag; | |
849 extern void constant_expression_warning (tree); | 849 extern void constant_expression_warning (tree); |
850 extern void constant_expression_error (tree); | 850 extern void constant_expression_error (tree); |
851 extern bool strict_aliasing_warning (tree, tree, tree); | 851 extern bool strict_aliasing_warning (tree, tree, tree); |
852 extern void warnings_for_convert_and_check (tree, tree, tree); | 852 extern void warnings_for_convert_and_check (tree, tree, tree); |
853 extern tree convert_and_check (tree, tree); | 853 extern tree convert_and_check (tree, tree); |