]> git.ipfire.org Git - thirdparty/gcc.git/commit
libcc1: fix <vector> include
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 16 Mar 2024 08:50:00 +0000 (09:50 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 3 Apr 2024 14:48:27 +0000 (15:48 +0100)
commite95ab9e60ce1d9aa7751d79291133fd5af9209d7
tree87a8b9c3a2ec1e9825db8bdda7f65774cb58927a
parent68057560ff1fc0fb2df38c2f9627a20c9a8da5c5
libcc1: fix <vector> include

Use INCLUDE_VECTOR before including system.h, instead of directly
including <vector>, to avoid running into poisoned identifiers.

Signed-off-by: Dimitry Andric <dimitry@andric.com>
PR middle-end/111632

libcc1/ChangeLog:

* libcc1plugin.cc: Fix include.
* libcp1plugin.cc: Fix include.

(cherry picked from commit 5213047b1d50af63dfabb5e5649821a6cb157e33)
libcc1/libcc1plugin.cc
libcc1/libcp1plugin.cc