1 2019-01-01 Martin Sebor <msebor@redhat.com>
2 Jeff Law <law@redhat.com>
4 * gimple-fold.c (get_range_strlen_tree): Record if the computed
5 length is optimistic. If it is, then arrange to compute the
6 conservative length as well.
8 * gimple-fold.h (get_range_strlen): Update prototype.
9 * builtins.c (check_access): Update call to get_range_strlen to use
10 c_strlen_data pointer. Change various variable accesses to instead
11 pull data from the c_strlen_data structure.
12 (check_strncat_sizes, expand_builtin_strncat): Likewise.
13 * calls.c (maybe_warn_nonstring_arg): Likewise.
14 * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Likewise. Reset
15 minimum length if maximum lengh is unknown.
16 * gimple-ssa-sprintf.c (get_string_length): Likewise. Drop code
17 that used c_strlen, it's no longer needed. Restructure slightly.
18 (format_string): Set unlikely range appropriately.
19 * gimple-fold.c (get_range_strlen): Update comments. Fix minor
21 (get_range_strlen): Accept c_strlen_data pointer for external
22 call sites as well. Pass through to call to internal get_range_strlen.
23 Adjust minlen, maxlen and maxbound as needed.
24 (get_maxval_strlen): Update comments.
25 (gimple_fold_builtin_strlen): Update call to get_range_strlen
26 to use c_strlen_data pointer. Change variable accesses to instead
27 use c_strlen_data data members.
29 * gimple-fold.c (get_range_strlen): Update prototype.
30 (get_range_strlen_tree): Update prototype. Drop minlen/maxlen
31 local variables. Use pdata to return information to caller.
32 Update calls to get_range_strlen. Update pdata->maxbound.
33 (get_range_strlen -- static version): Similarly.
34 (get_range_strlen -- extern version): Update for internal
35 get_range_strlen API change. Convert to external data format.
36 (get_maxval_strlen): Similarly.
38 2019-01-01 Jan Hubicka <hubicka@ucw.cz>
40 * coverage.c (get_coverage_counts): Use current_function_decl.
41 * profile.c (read_thunk_profile): New function.
42 (branch_prob): Add THUNK parameter.
43 * tree-profile.c (tree_profiling): Handle thunks.
44 * value-prof.c (init_node_map): Handle thunks.
45 * value-prof.h (branch_prob): Upate prototype.
46 (read_thunk_profile): Declare.
48 2019-01-01 Jakub Jelinek <jakub@redhat.com>
50 Update copyright years.
52 * gcc.c (process_command): Update copyright notice dates.
53 * gcov-dump.c (print_version): Ditto.
54 * gcov.c (print_version): Ditto.
55 * gcov-tool.c (print_version): Ditto.
56 * gengtype.c (create_file): Ditto.
57 * doc/cpp.texi: Bump @copying's copyright year.
58 * doc/cppinternals.texi: Ditto.
59 * doc/gcc.texi: Ditto.
60 * doc/gccint.texi: Ditto.
61 * doc/gcov.texi: Ditto.
62 * doc/install.texi: Ditto.
63 * doc/invoke.texi: Ditto.
65 Copyright (C) 2019 Free Software Foundation, Inc.
67 Copying and distribution of this file, with or without modification,
68 are permitted in any medium without royalty provided the copyright
69 notice and this notice are preserved.