+2017-06-09 David Malcolm <dmalcolm@redhat.com>
+
+ * include/line-map.h
+ (rich_location::fixits_cannot_be_auto_applied): New method.
+ (rich_location::fixits_can_be_auto_applied_p): New accessor.
+ (rich_location::m_fixits_cannot_be_auto_applied): New field.
+ * line-map.c (rich_location::rich_location): Initialize new field.
+
+2017-06-05 David Malcolm <dmalcolm@redhat.com>
+
+ * include/cpplib.h (struct cpp_callbacks): Add "comment"
+ callback.
+ * lex.c (_cpp_lex_direct): Call the comment callback if non-NULL.
+
+2017-05-02 David Malcolm <dmalcolm@redhat.com>
+
+ * include/line-map.h (class rich_location): Update description of
+ newline handling.
+ (class fixit_hint): Likewise.
+ (fixit_hint::ends_with_newline_p): New decl.
+ * line-map.c (rich_location::maybe_add_fixit): Support newlines
+ in fix-it hints that are insertions of single lines at the start
+ of a line. Don't consolidate into such fix-it hints.
+ (fixit_hint::ends_with_newline_p): New method.
+
+2017-05-01 David Malcolm <dmalcolm@redhat.com>
+
+ * include/line-map.h (source_range::intersects_line_p): Delete.
+ (rich_location::add_fixit): Delete.
+ (rich_location::maybe_add_fixit): New method.
+ (class fixit_hint): Reimplement in terms of...
+ (class fixit_replace): ...this.
+ (class fixit_insert): Delete.
+ * line-map.c (linemap_position_for_loc_and_offset): Drop overzealous
+ linemap_assert_fails.
+ (source_range::intersects_line_p): Rename to...
+ (fixit_hint::affects_line_p): New function.
+ (rich_location::add_fixit_insert_before): Reimplement in terms of
+ maybe_add_fixit, moving validation there.
+ (rich_location::add_fixit_insert_after): Likewise.
+ (column_before_p): Delete.
+ (rich_location::add_fixit_replace): Reimplement in terms of
+ maybe_add_fixit, moving validation there. Convert closed input range
+ to half-open range.
+ (rich_location::add_fixit): Delete.
+ (rich_location::maybe_add_fixit): New function.
+ (fixit_insert::fixit_insert): Delete.
+ (fixit_insert::~fixit_insert): Delete.
+ (fixit_insert::affects_line_p): Delete.
+ (fixit_insert::maybe_append_replace): Delete.
+ (fixit_replace::fixit_replace): Rename to...
+ (fixit_hint::fixit_hint): ...this, rewriting as necessary.
+ (fixit_replace::~fixit_replace): Delete.
+ (fixit_replace::affects_line_p): Delete.
+ (fixit_replace::maybe_append_replace): Rename to...
+ (fixit_hint::maybe_append): ...this, rewriting as necessary.
+
+2017-04-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/line-map.h (LINEMAPS_MACRO_MAPS): Fix typo in comment.
+ * lex.c (search_line_fast): Likewise.
+ * pch.h (cpp_valid_state): Likewise.
+
+2017-03-21 Andreas Schwab <schwab@suse.de>
+
+ * lex.c (search_line_fast) [__ARM_NEON && __ARM_64BIT_STATE]:
+ Convert 64-bit value to boolean before passing to
+ __builtin_expect.
+
+2017-03-16 Jason Merrill <jason@redhat.com>
+
+ * init.c (cpp_init_builtins): Update __cplusplus for C++17.
+
+2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * Makefile.in (po/$(PACKAGE).pot): Adjust bug reporting URL.
+
+2017-01-10 David Malcolm <dmalcolm@redhat.com>
+
+ PR c++/77949
+ * line-map.c (linemap_position_for_column): When calling
+ linemap_start_line, detect if a new linemap was created with
+ 0 column bits, and bail out early if this is the case.
+ (linemap_position_for_loc_and_offset): Replace overzealous
+ linemap_assert_fails with a simple conditional; use correct
+ bit count.
+
+2017-01-07 David Malcolm <dmalcolm@redhat.com>
+
+ PR c++/72803
+ * line-map.c (linemap_line_start): When determining if the highest
+ column given out so far will fit into a proposed change to the
+ current map, use the effective number of column bits, rather than
+ the total number of column + range bits.
+
+2017-01-01 Jakub Jelinek <jakub@redhat.com>
+
+ Update copyright years.
+
+2016-12-15 David Malcolm <dmalcolm@redhat.com>
+
+ PR preprocessor/78680
+ PR preprocessor/78811
+ * lex.c (_cpp_lex_direct): Only determine the end-location of
+ the token and build a range for non-reserved start locations.
+ Do not do it for EOF tokens.
+
+2016-12-12 David Malcolm <dmalcolm@redhat.com>
+
+ PR preprocessor/78680
+ * lex.c (_cpp_lex_direct): Ensure line notes are processed before
+ computing the end-point of the token.
+
+2016-11-23 Paolo Bonzini <bonzini@gnu.org>
+
+ * include/cpplib.h (struct cpp_options): Add new member
+ warn_expansion_to_defined.
+ (CPP_W_EXPANSION_TO_DEFINED): New enum member.
+ * expr.c (parse_defined): Warn for all uses of "defined"
+ in macros, and tie warning to CPP_W_EXPANSION_TO_DEFINED.
+ Make it a pedwarning instead of a warning.
+ * system.h (HAVE_DESIGNATED_INITIALIZERS): Do not use
+ "defined" in macros.
+
+2016-11-17 David Malcolm <dmalcolm@redhat.com>
+
+ * charset.c (cpp_interpret_string_1): Skip locations from
+ loc_reader when advancing 'p' when handling raw strings.
+
+2016-11-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR bootstrap/72823
+ * configure.ac (ENABLE_ASSERT_CHECKING): Define if gcc configure
+ would define that macro.
+ * configure: Regenerated.
+ * config.in: Regenerated.
+
+2016-11-08 Richard Earnshaw <rearnsha@arm.com>
+
+ * lex.c (search_line_fast): New implementation for AArch64.
+
+2016-10-25 David Malcolm <dmalcolm@redhat.com>
+
+ * files.c (destroy_cpp_file): Free file->path.
+
+2016-10-25 David Malcolm <dmalcolm@redhat.com>
+
+ * include/line-map.h (line_maps::~line_maps): New dtor.
+ (location_adhoc_data_fini): Delete decl.
+ * line-map.c (line_maps::~line_maps): New dtor.
+ (location_adhoc_data_fini): Delete.
+
+2016-10-21 Andris Pavenis <andris.pavenis@iki.fi>
+
+ PR preprocessor/71681
+ * files.c (remap_filename): Fix handling -remap in subdirectories.
+
+2016-10-12 Jakub Jelinek <jakub@redhat.com>
+
+ * include/cpplib.h (struct cpp_options): Add
+ cpp_warn_implicit_fallthrough.
+ * init.c (cpp_create_reader): Initialize it to 0.
+ * lex.c (fallthrough_comment_p): Handle different
+ cpp_warn_implicit_fallthrough levels. Whitespace fixes.
+
+2016-10-08 Jakub Jelinek <jakub@redhat.com>
+
+ * lex.c (fallthrough_comment_p): Accept Else, fallthrough.
+
+ * lex.c (fallthrough_comment_p): Extend to handle more common FALLTHRU
+ comment styles.
+
+ * lex.c (fallthrough_comment_p): Fix off-by-one size comparison
+ errors, cleanup.
+ (_cpp_lex_direct): Allow arbitrary comments in between
+ fallthrough_comment_p comment and following token.
+
+2016-10-04 Kelvin Nilsen <kelvin@gcc.gnu.org>
+
+ PR target/77847
+ * lex.c (search_line_fast): Add a FALLTHROUGH comment to correct
+ compiler error in the version of this function that is
+ conditionally compiled when GCC_VERSION >= 4005 and both
+ __ALTIVEC__ and __BIG_ENDIAN__ symbols are defined.
+
+2016-09-26 Marek Polacek <polacek@redhat.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR c/7652
+ * include/cpplib.h (PREV_FALLTHROUGH): Define.
+ * internal.h (CPP_FALLTHRU): Define.
+ * lex.c (fallthrough_comment_p): New function.
+ (_cpp_lex_direct): Set PREV_FALLTHROUGH on tokens succeeding a falls
+ through comment.
+
+2016-09-23 David Malcolm <dmalcolm@redhat.com>
+
+ PR preprocessor/77672
+ * charset.c (cpp_interpret_string_1): Add a source_range for the
+ NUL-terminator, using the location of the trailing quote of the
+ final string.
+
+2016-09-21 Jason Merrill <jason@redhat.com>
+
+ * line-map.c (linemap_location_from_macro_definition_p): New.
+ * line-map.h: Declare it.
+
+2016-09-15 David Malcolm <dmalcolm@redhat.com>
+
+ * include/line-map.h (class rich_location): Note that newlines
+ aren't supported in fix-it text.
+ * line-map.c (rich_location::add_fixit_insert_before): Reject
+ attempts to add fix-its containing newlines.
+ (rich_location::add_fixit_replace): Likewise.
+
+2016-09-13 David Malcolm <dmalcolm@redhat.com>
+
+ * include/line-map.h (class rich_location): Add description of
+ fix-it hints to leading comment.
+ (rich_location::add_fixit_insert): Rename both overloaded methods
+ to..
+ (rich_location::add_fixit_insert_before): ...this, updating their
+ comments.
+ (rich_location::add_fixit_insert_after): Two new overloaded
+ methods.
+ (rich_location::stop_supporting_fixits): New method.
+ * line-map.c (rich_location::add_fixit_insert): Rename both
+ overloaded methods to..
+ (rich_location::add_fixit_insert_before): ...this, updating their
+ comments.
+ (rich_location::add_fixit_insert_after): Two new methods.
+ (rich_location::reject_impossible_fixit): Split out
+ failure-handling into...
+ (rich_location::stop_supporting_fixits): New method.
+
2016-09-02 David Malcolm <dmalcolm@redhat.com>
* include/line-map.h (rich_location::seen_impossible_fixit_p): New
* include/symtab.h: Moved from gcc/hashtable.h. Change header
guard name.
\f
-Copyright (C) 2004-2016 Free Software Foundation, Inc.
+Copyright (C) 2004-2017 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright