]>
Commit | Line | Data |
---|---|---|
703c8606 LC |
1 | 2012-10-09 Lawrence Crowl <crowl@google.com> |
2 | ||
3 | * Make-lang.in (c-decl.o): Add dependence on hash-table.h. | |
4 | * c-decl.c (detect_field_duplicates_hash): Change to new type-safe | |
5 | hash table. | |
6 | ||
5d9de0d0 PC |
7 | 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com> |
8 | ||
9 | PR c++/54194 | |
10 | * c-typeck.c (parser_build_binary_op): Update warn_about_parentheses | |
11 | call. | |
12 | ||
a212e43f MG |
13 | 2012-10-09 Marc Glisse <marc.glisse@inria.fr> |
14 | ||
15 | PR c++/54427 | |
16 | * c-typeck.c: Include c-common.h. | |
17 | (enum stv_conv): Moved to c-common.h. | |
18 | (scalar_to_vector): Moved to c-common.c. | |
19 | (build_binary_op): Adapt to scalar_to_vector's new prototype. | |
20 | * Make-lang.in: c-typeck.c depends on c-common.h. | |
21 | ||
3b78de56 AC |
22 | 2012-10-04 Arnaud Charlet <charlet@adacore.com> |
23 | ||
24 | * c-decl.c (c_write_global_declarations): Fix handling of | |
25 | -fdump-ada-spec*. | |
26 | ||
78c60e3d SS |
27 | 2012-09-30 Sharad Singhai <singhai@google.com> |
28 | ||
29 | * c-decl.c (c_write_global_declarations): Use a different method | |
30 | to determine if the dump has ben initialized. | |
31 | ||
9f33203d JM |
32 | 2012-09-14 Joseph Myers <joseph@codesourcery.com> |
33 | ||
34 | PR c/54552 | |
35 | * c-typeck.c (c_cast_expr): When casting to a type requiring | |
36 | C_MAYBE_CONST_EXPR to be created, pass the inner expression to | |
37 | c_fully_fold first. | |
38 | ||
a27d595d JM |
39 | 2012-09-14 Joseph Myers <joseph@codesourcery.com> |
40 | ||
41 | PR c/54103 | |
42 | * c-typeck.c (build_unary_op): Pass original argument of | |
43 | TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove | |
44 | any C_MAYBE_CONST_EXPR, if it has integer operands. | |
45 | (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR, | |
46 | TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR | |
47 | to c_objc_common_truthvalue_conversion, then remove any | |
48 | C_MAYBE_CONST_EXPR, if they have integer operands. Use | |
49 | c_objc_common_truthvalue_conversion not | |
50 | c_common_truthvalue_conversion. | |
51 | (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and | |
52 | call note_integer_operands for arguments with integer operands | |
53 | that are not integer constants. | |
54 | ||
9feb29df JJ |
55 | 2012-09-13 Jakub Jelinek <jakub@redhat.com> |
56 | ||
57 | PR c/54559 | |
58 | * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or | |
59 | COMPLEX_TYPE with in_late_binary_op set temporarily to true. | |
60 | ||
d409320c JJ |
61 | 2012-08-31 Jakub Jelinek <jakub@redhat.com> |
62 | ||
63 | PR c/54428 | |
64 | * c-convert.c (convert): Don't call fold_convert_loc if | |
65 | TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e | |
66 | is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from | |
67 | COMPLEX_TYPE -> COMPLEX_TYPE conversion. | |
68 | ||
6265d07c JJ |
69 | 2012-08-24 Jakub Jelinek <jakub@redhat.com> |
70 | ||
71 | PR c/54355 | |
72 | * c-decl.c (c_parser_label): Pass true as nested and fix up comments | |
73 | for nested and empty_ok arguments in the call to | |
74 | c_parser_declaration_or_fndef. | |
75 | ||
1a4049e7 JJ |
76 | 2012-08-17 Jakub Jelinek <jakub@redhat.com> |
77 | ||
78 | * c-tree.h (c_last_sizeof_arg): Declare. | |
79 | * c-parser.c (struct c_tree_loc_pair): New type. | |
80 | (c_parser_expr_list): Add sizeof_arg argument. Fill it in if | |
81 | non-NULL. | |
82 | (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers. | |
83 | (c_parser_postfix_expression_after_primary): Likewise. Call | |
84 | sizeof_pointer_memaccess_warning if needed. | |
85 | (sizeof_ptr_memacc_comptypes): New function. | |
86 | * c-typeck.c (c_last_sizeof_arg): New global variable. | |
87 | (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it. | |
88 | ||
0229aee9 UB |
89 | 2012-07-24 Uros Bizjak <ubizjak@gmail.com> |
90 | ||
91 | * c-lang.h (lang_decl): Add variable_size GTY option. | |
92 | ||
7ee2468b SB |
93 | 2012-07-16 Steven Bosscher <steven@gcc.gnu.org> |
94 | ||
95 | * c-decl.c: Include dumpfile.h instead of tree-dump.h. | |
96 | * Make-lang.in: Fix dependencies. | |
97 | ||
d4a10d0a SB |
98 | 2012-06-29 Steven Bosscher <steven@gcc.gnu.org> |
99 | ||
100 | * Make-lang.in: New file, rules migrated from gcc/Makefile.in | |
101 | and add language Makefile hooks. | |
102 | * config-lang.in: New file. | |
103 | * c-config-lang.in: Moved from gcc/config-lang.in to here, and | |
104 | add the required "normal" config-lang.in rules. | |
105 | * c-lang.h: Moved from gcc/ to here. | |
106 | * c-tree.h: Likewise. | |
107 | * c-objc-common.c: Likewise. | |
108 | * c-objc-common.h: Likewise. | |
109 | * c-typeck.c: Likewise. | |
110 | * c-convert.c: Likewise. | |
111 | * c-lang.c: Likewise. | |
112 | * c-aux-info.c: Likewise. | |
113 | * c-errors.c: Likewise. | |
114 | * gccspec.c: Likewise. | |
115 | * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h. | |
116 | * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h. | |
117 | \f | |
118 | Copyright (C) 2012 Free Software Foundation, Inc. | |
119 | ||
120 | Copying and distribution of this file, with or without modification, | |
121 | are permitted in any medium without royalty provided the copyright | |
122 | notice and this notice are preserved. |