libcc1: use GCC_FE_VERSION_1 in C++ plugin
authorTom Tromey <tom@tromey.com>
Tue, 4 May 2021 21:26:58 +0000 (15:26 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 5 May 2021 06:06:18 +0000 (00:06 -0600)
commitb65c0bcbe13b2b56a1e84856856548f2a29ada7e
treea8fa4efcb29c4fe66f272aa8f8d592c432bda52b
parent1a51cb299070920280d4d38c6a59788c0c621658
libcc1: use GCC_FE_VERSION_1 in C++ plugin

The C++ plugin defaults to version 0 of the base compiler API.
However, this is a mistake -- version 1 was introduced before the C++
API was even implemented.  This switches the default to version 1.
Note that the compiler-side plugin will accept this version, so it
should remain compatible.

libcc1

* libcp1.cc (vtable): Use GCC_FE_VERSION_1.
libcc1/libcp1.cc