2018-10-23 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / cp / ChangeLog.ptr
blobd2d095499caf13155f379e8f7748e48bf01b146e
1 2007-06-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>
3         * init.c (build_new_1): Use fold_build1 instead
4         of build1 for NEGATE_EXPR.
5         (build_vec_delete_1): Likewise.
6         * class.c (build_base_path): Likewise.
7         * except.c (expand_start_catch_block): Likewise.
9 2007-05-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
11         * typeck.c (build_binary_op): Add a comment on why creating
12         the tree in pieces while processing templates.
14 2007-05-12  Andrew Pinski  <andrew_pinski@playstation.sony.com>
16         * except.c (expand_start_catch_block):  Do a
17         NEGATIVE and then a POINTER_PLUS_EXPR instead
18         of a MINUS_EXPR.
20 2007-05-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
22         * cp-gimplify.c (cxx_omp_clause_apply_fn): Convert
23         PLUS_EXPR on pointer types over to use
24         POINTER_PLUS_EXPR and remove the conversion
25         to the pointer types.
27 2007-05-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
29         * typeck.c (build_unary_op): Remove code that used to
30         handle non lvalue increments/decrements as we now error
31         out all ways.
33 2007-05-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
35         * typeck.c (get_member_function_from_ptrfunc):
36         Change over to using POINTER_PLUS_EXPR and convert
37         the second operand to sizetype.
38         * typeck2.c (build_m_component_ref): Likewise.
39         * rtti.c (build_headof): Use sizetype instead of
40         ptrdiff_type_node.
42 2007-05-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
44         * method.c (thunk_adjust): Use POINTER_PLUS_EXPR for
45         adding to a pointer type. Use size_int instead of
46         ssize_int. Convert the index to sizetype before
47         adding it to the pointer.
49 2006-11-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
51         * typeck.c (build_binary_op): For templates build the
52         expression in pieces to avoid the assert in build2_stat.
53         * init.c (expand_virtual_init): Create a POINTER_PLUS_EXPR
54         instead of PLUS_EXPR for pointers.
55         (build_new_1): Likewise.
56         (build_vec_delete_1): Likewise.
57         (build_vec_delete): Likewise.
58         * class.c (build_base_path): Likewise.
59         (build_base_path): Likewise.
60         (convert_to_base_statically): Likewise.
61         (fixed_type_or_null): Handle POINTER_PLUS_EXPR.
62         (get_vtbl_decl_for_binfo): Handle POINTER_PLUS_EXPR
63         instead of PLUS_EXPR.
64         (dfs_accumulate_vtbl_inits): Create a POINTER_PLUS_EXPR
65         instead of PLUS_EXPR for pointers.
66         * call.c (build_special_member_call): Likewise.
67         * rtti.c (build_headof): Likewise.
68         (tinfo_base_init): Likewise.
71 Copyright (C) 2006-2007 Free Software Foundation, Inc.
73 Copying and distribution of this file, with or without modification,
74 are permitted in any medium without royalty provided the copyright
75 notice and this notice are preserved.