[PR preprocessor/90927] Fixe dependency output
authorNathan Sidwell <nathan@acm.org>
Wed, 26 Jun 2019 12:58:39 +0000 (12:58 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 26 Jun 2019 12:58:39 +0000 (12:58 +0000)
commit66d7749bce891ee8707c0c63ceffeac1a95b4d78
treeaa708b1c46212a60bc2e9fd101c299abd0c61a65
parent93a090cf2afdf3749c01bb55112c6e97cf38adc3
[PR preprocessor/90927] Fixe dependency output

https://gcc.gnu.org/ml/gcc-patches/2019-06/msg01664.html
libcpp/
PR preprocessor/90927
* mkdeps.c (mkdeps::vec::operator[]): Add non-const variant.
(deps_add_target): Deal with out of order unquoted targets.

gcc/testsuite/
* c-c++-common/pr90927.c: New.

From-SVN: r272692
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr90927.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/mkdeps.c