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