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