BSOD while compiling c++ sources

So, as the title says, when I try to create a basic c++ project my system crashes with BSOD apc_index_mismatch. As I’ve understood, the crash happens when c++ sources are being compiled.

I use VS 2017 on Windows 10. My pc configuration: AMD A10-7890K, ATI Radeon HD 7970, 12GB RAM. All drivers are up-to-date. Windows event log shows nothing besides “The computer has rebooted from a bugcheck”.

Any help will be useful.