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