Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / c / ChangeLog
blob11f9be7b5359c1f117b2906eb98fcc980c695b1c
1 2012-08-31  Jakub Jelinek  <jakub@redhat.com>
3         PR c/54428
4         * c-convert.c (convert): Don't call fold_convert_loc if
5         TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
6         is a COMPLEX_EXPR.  Remove TYPE_MAIN_VARIANT check from
7         COMPLEX_TYPE -> COMPLEX_TYPE conversion.
9 2012-08-24  Jakub Jelinek  <jakub@redhat.com>
11         PR c/54355
12         * c-decl.c (c_parser_label): Pass true as nested and fix up comments
13         for nested and empty_ok arguments in the call to
14         c_parser_declaration_or_fndef.
16 2012-08-17  Jakub Jelinek  <jakub@redhat.com>
18         * c-tree.h (c_last_sizeof_arg): Declare.
19         * c-parser.c (struct c_tree_loc_pair): New type.
20         (c_parser_expr_list): Add sizeof_arg argument.  Fill it in if
21         non-NULL.
22         (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers.
23         (c_parser_postfix_expression_after_primary): Likewise.  Call
24         sizeof_pointer_memaccess_warning if needed.
25         (sizeof_ptr_memacc_comptypes): New function.
26         * c-typeck.c (c_last_sizeof_arg): New global variable.
27         (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it.
29 2012-07-24  Uros Bizjak  <ubizjak@gmail.com>
31         * c-lang.h (lang_decl): Add variable_size GTY option.
33 2012-07-16  Steven Bosscher  <steven@gcc.gnu.org>
35         * c-decl.c: Include dumpfile.h instead of tree-dump.h.
36         * Make-lang.in: Fix dependencies.
38 2012-06-29  Steven Bosscher  <steven@gcc.gnu.org>
40         * Make-lang.in: New file, rules migrated from gcc/Makefile.in
41         and add language Makefile hooks.
42         * config-lang.in: New file.
43         * c-config-lang.in: Moved from gcc/config-lang.in to here, and
44         add the required "normal" config-lang.in rules.
45         * c-lang.h: Moved from gcc/ to here.
46         * c-tree.h: Likewise.
47         * c-objc-common.c: Likewise.
48         * c-objc-common.h: Likewise.
49         * c-typeck.c: Likewise.
50         * c-convert.c: Likewise.
51         * c-lang.c: Likewise.
52         * c-aux-info.c: Likewise.
53         * c-errors.c: Likewise.
54         * gccspec.c: Likewise.
55         * c-decl.c: Likewise.  Include gt-c-c-decl.h, not gt-c-decl.h.
56         * c-parser.c: Likewise.  Include gt-c-c-parser.h, not gt-c-parser.h.
58 Copyright (C) 2012 Free Software Foundation, Inc.
60 Copying and distribution of this file, with or without modification,
61 are permitted in any medium without royalty provided the copyright
62 notice and this notice are preserved.