preprocessor: cleanups in c-common handling
authorNathan Sidwell <nathan@acm.org>
Wed, 20 May 2020 18:15:34 +0000 (11:15 -0700)
committerNathan Sidwell <nathan@acm.org>
Wed, 20 May 2020 18:17:52 +0000 (11:17 -0700)
commitc22027a00ede06e3f53170a82aa5b6af8697ddc4
treef4ca1067bcafb8009bd9ed8db4c065d37c53f1c4
parent2a8565fa1182ed326721a50c700f9f5275355d40
preprocessor: cleanups in c-common handling

* c-common.c (try_to_locate_new_include_insertion_point): Use
strcmp to compare filenames.
* c-lex.c (init_c_lex): Move declaration to initialization.
* c-opts.c (handle_deferred_opts): Move cpp_get_deps call into
deferred count loop.
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-lex.c
gcc/c-family/c-opts.c