On Sat, 2023-10-07 16:50:14 +0800, Yang Yujie wrote:
> gcc/ChangeLog:
>
> * config.gcc: Add loongarch-driver.h to tm_files.
> * config/loongarch/loongarch.h: Do not include loongarch-driver.h.
> * config/loongarch/t-loongarch: Append loongarch-multilib.h to $(GTM_H)
> inst
Unfortunately, I was unable to reproduce the problem mentioned in
https://gcc.gnu.org/pipermail/gcc-patches/2023-October/631933.html
Heres's a possible fix without testing. Please tell me if this works.
On Sat, Oct 07, 2023 at 04:50:14PM +0800, Yang Yujie wrote:
> -TM_H += loongarch-multilib.h $
gcc/ChangeLog:
* config.gcc: Add loongarch-driver.h to tm_files.
* config/loongarch/loongarch.h: Do not include loongarch-driver.h.
* config/loongarch/t-loongarch: Append loongarch-multilib.h to $(GTM_H)
instead of $(TM_H) for building generator programs.
---
gcc/c