]>
Commit | Line | Data |
---|---|---|
f1f41a6c | 1 | 2012-11-16 Diego Novillo <dnovillo@google.com> |
2 | ||
3 | Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec) | |
4 | ||
5 | * c-common.c: Use new vec API in vec.h. | |
6 | * c-common.h: Likewise. | |
7 | * c-gimplify.c: Likewise. | |
8 | * c-pragma.c: Likewise. | |
9 | * c-pretty-print.c: Likewise. | |
10 | * c-pretty-print.h: Likewise. | |
11 | * c-semantics.c: Likewise. | |
12 | * c-decl.c: Likewise. | |
13 | * c-parser.c: Likewise. | |
14 | * c-tree.h: Likewise. | |
15 | * c-typeck.c: Likewise. | |
16 | ||
8b447d3f | 17 | 2012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
18 | ||
19 | PR c++/54930 | |
20 | * c-typeck.c (c_finish_return): Use OPT_Wreturn_local_addr. | |
21 | ||
08fc5390 | 22 | 2012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org> |
23 | ||
24 | PR c/53066 | |
25 | * c-decl.c (warn_if_shadowing): Do not warn if a variable | |
26 | shadows a function, unless the variable is a function or a | |
27 | pointer-to-function. | |
28 | ||
57f872a2 | 29 | 2012-10-12 Jakub Jelinek <jakub@redhat.com> |
30 | ||
31 | PR c/54381 | |
32 | * c-parser.c (struct c_tree_loc_pair): Removed. | |
33 | (c_parser_expr_list): Remove struct c_tree_loc_pair * argument, | |
34 | add location_t * and tree * arguments, fill in array of 3 | |
35 | sizeof_arg trees and corresponding locs. | |
36 | (c_parser_attributes, c_parser_objc_keywordexpr): Adjust | |
37 | c_parser_expr_list callers. | |
38 | (c_parser_postfix_expression_after_primary): Likewise. Pass | |
39 | array of 3 sizeof_arg trees and locs (corresponding to first | |
40 | 3 arguments) to sizeof_pointer_memaccess_warning. | |
41 | ||
d1455aa3 | 42 | 2012-10-09 Lawrence Crowl <crowl@google.com> |
43 | ||
44 | * Make-lang.in (c-decl.o): Add dependence on hash-table.h. | |
45 | * c-decl.c (detect_field_duplicates_hash): Change to new type-safe | |
46 | hash table. | |
47 | ||
b0e7825e | 48 | 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com> |
49 | ||
50 | PR c++/54194 | |
51 | * c-typeck.c (parser_build_binary_op): Update warn_about_parentheses | |
52 | call. | |
53 | ||
41ed701a | 54 | 2012-10-09 Marc Glisse <marc.glisse@inria.fr> |
55 | ||
56 | PR c++/54427 | |
57 | * c-typeck.c: Include c-common.h. | |
58 | (enum stv_conv): Moved to c-common.h. | |
59 | (scalar_to_vector): Moved to c-common.c. | |
60 | (build_binary_op): Adapt to scalar_to_vector's new prototype. | |
61 | * Make-lang.in: c-typeck.c depends on c-common.h. | |
62 | ||
ef34afc1 | 63 | 2012-10-04 Arnaud Charlet <charlet@adacore.com> |
64 | ||
65 | * c-decl.c (c_write_global_declarations): Fix handling of | |
66 | -fdump-ada-spec*. | |
67 | ||
7bd765d4 | 68 | 2012-09-30 Sharad Singhai <singhai@google.com> |
69 | ||
70 | * c-decl.c (c_write_global_declarations): Use a different method | |
71 | to determine if the dump has ben initialized. | |
72 | ||
c4b1a13a | 73 | 2012-09-14 Joseph Myers <joseph@codesourcery.com> |
74 | ||
75 | PR c/54552 | |
76 | * c-typeck.c (c_cast_expr): When casting to a type requiring | |
77 | C_MAYBE_CONST_EXPR to be created, pass the inner expression to | |
78 | c_fully_fold first. | |
79 | ||
bb554051 | 80 | 2012-09-14 Joseph Myers <joseph@codesourcery.com> |
81 | ||
82 | PR c/54103 | |
83 | * c-typeck.c (build_unary_op): Pass original argument of | |
84 | TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove | |
85 | any C_MAYBE_CONST_EXPR, if it has integer operands. | |
86 | (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR, | |
87 | TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR | |
88 | to c_objc_common_truthvalue_conversion, then remove any | |
89 | C_MAYBE_CONST_EXPR, if they have integer operands. Use | |
90 | c_objc_common_truthvalue_conversion not | |
91 | c_common_truthvalue_conversion. | |
92 | (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and | |
93 | call note_integer_operands for arguments with integer operands | |
94 | that are not integer constants. | |
95 | ||
c708c6ef | 96 | 2012-09-13 Jakub Jelinek <jakub@redhat.com> |
97 | ||
98 | PR c/54559 | |
99 | * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or | |
100 | COMPLEX_TYPE with in_late_binary_op set temporarily to true. | |
101 | ||
cce20430 | 102 | 2012-08-31 Jakub Jelinek <jakub@redhat.com> |
103 | ||
104 | PR c/54428 | |
105 | * c-convert.c (convert): Don't call fold_convert_loc if | |
106 | TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e | |
107 | is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from | |
108 | COMPLEX_TYPE -> COMPLEX_TYPE conversion. | |
109 | ||
a90d57ed | 110 | 2012-08-24 Jakub Jelinek <jakub@redhat.com> |
111 | ||
112 | PR c/54355 | |
113 | * c-decl.c (c_parser_label): Pass true as nested and fix up comments | |
114 | for nested and empty_ok arguments in the call to | |
115 | c_parser_declaration_or_fndef. | |
116 | ||
f003f5dc | 117 | 2012-08-17 Jakub Jelinek <jakub@redhat.com> |
118 | ||
119 | * c-tree.h (c_last_sizeof_arg): Declare. | |
120 | * c-parser.c (struct c_tree_loc_pair): New type. | |
121 | (c_parser_expr_list): Add sizeof_arg argument. Fill it in if | |
122 | non-NULL. | |
123 | (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers. | |
124 | (c_parser_postfix_expression_after_primary): Likewise. Call | |
125 | sizeof_pointer_memaccess_warning if needed. | |
126 | (sizeof_ptr_memacc_comptypes): New function. | |
127 | * c-typeck.c (c_last_sizeof_arg): New global variable. | |
128 | (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it. | |
129 | ||
a5656b73 | 130 | 2012-07-24 Uros Bizjak <ubizjak@gmail.com> |
131 | ||
132 | * c-lang.h (lang_decl): Add variable_size GTY option. | |
133 | ||
b9ed1410 | 134 | 2012-07-16 Steven Bosscher <steven@gcc.gnu.org> |
135 | ||
136 | * c-decl.c: Include dumpfile.h instead of tree-dump.h. | |
137 | * Make-lang.in: Fix dependencies. | |
138 | ||
e53d55e7 | 139 | 2012-06-29 Steven Bosscher <steven@gcc.gnu.org> |
140 | ||
141 | * Make-lang.in: New file, rules migrated from gcc/Makefile.in | |
142 | and add language Makefile hooks. | |
143 | * config-lang.in: New file. | |
144 | * c-config-lang.in: Moved from gcc/config-lang.in to here, and | |
145 | add the required "normal" config-lang.in rules. | |
146 | * c-lang.h: Moved from gcc/ to here. | |
147 | * c-tree.h: Likewise. | |
148 | * c-objc-common.c: Likewise. | |
149 | * c-objc-common.h: Likewise. | |
150 | * c-typeck.c: Likewise. | |
151 | * c-convert.c: Likewise. | |
152 | * c-lang.c: Likewise. | |
153 | * c-aux-info.c: Likewise. | |
154 | * c-errors.c: Likewise. | |
155 | * gccspec.c: Likewise. | |
156 | * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h. | |
157 | * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h. | |
158 | \f | |
159 | Copyright (C) 2012 Free Software Foundation, Inc. | |
160 | ||
161 | Copying and distribution of this file, with or without modification, | |
162 | are permitted in any medium without royalty provided the copyright | |
163 | notice and this notice are preserved. |