C++ FE: Show both locations in string literal concatenation error
[gcc.git] / gcc / cp / ChangeLog.ptr
1 2007-06-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
2
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.
8
9 2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
10
11 * typeck.c (build_binary_op): Add a comment on why creating
12 the tree in pieces while processing templates.
13
14 2007-05-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
15
16 * except.c (expand_start_catch_block): Do a
17 NEGATIVE and then a POINTER_PLUS_EXPR instead
18 of a MINUS_EXPR.
19
20 2007-05-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
21
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.
26
27 2007-05-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
28
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.
32
33 2007-05-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
34
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.
41
42 2007-05-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
43
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.
48
49 2006-11-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
50
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.
69
70 \f
71 Copyright (C) 2006-2007 Free Software Foundation, Inc.
72
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.