]>
Commit | Line | Data |
---|---|---|
d409320c JJ |
1 | 2012-08-31 Jakub Jelinek <jakub@redhat.com> |
2 | ||
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. | |
8 | ||
6265d07c JJ |
9 | 2012-08-24 Jakub Jelinek <jakub@redhat.com> |
10 | ||
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. | |
15 | ||
1a4049e7 JJ |
16 | 2012-08-17 Jakub Jelinek <jakub@redhat.com> |
17 | ||
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. | |
28 | ||
0229aee9 UB |
29 | 2012-07-24 Uros Bizjak <ubizjak@gmail.com> |
30 | ||
31 | * c-lang.h (lang_decl): Add variable_size GTY option. | |
32 | ||
7ee2468b SB |
33 | 2012-07-16 Steven Bosscher <steven@gcc.gnu.org> |
34 | ||
35 | * c-decl.c: Include dumpfile.h instead of tree-dump.h. | |
36 | * Make-lang.in: Fix dependencies. | |
37 | ||
d4a10d0a SB |
38 | 2012-06-29 Steven Bosscher <steven@gcc.gnu.org> |
39 | ||
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. | |
57 | \f | |
58 | Copyright (C) 2012 Free Software Foundation, Inc. | |
59 | ||
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. |