aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-04-08 12:05:04 +0200
committerJakub Jelinek <jakub@redhat.com>2023-04-08 12:05:04 +0200
commitc18b1b0bc78c27257cfc8448581564337412f567 (patch)
tree3943e7a63b320f78bd73fb2b4d84e518394cd79b /libgcc
parenteac493851f07df98213ecf67a5e9ab41a7babcd2 (diff)
downloadgcc-c18b1b0bc78c27257cfc8448581564337412f567.zip
gcc-c18b1b0bc78c27257cfc8448581564337412f567.tar.gz
gcc-c18b1b0bc78c27257cfc8448581564337412f567.tar.bz2
riscv: Fix genrvv-type-indexer dependencies
I've noticed make: Circular build/genrvv-type-indexer.o <- gtype-desc.h dependency dropped. The following patch fixes that. The RTL_BASE_H variable includes a lot of headers which the generator doesn't include, including gtype-desc.h. I've preprocessed it and checked all gcc/libiberty headers against what is included in the other dependency variables and here is what I found: 1) coretypes.h includes align.h, poly-int.h and poly-int-types.h which weren't listed (most of dependencies are thankfully done automatically, so it isn't that big deal except for these generators and the like) 2) system.h includes filenames.h (already listed) but filenames.h includes hashtab.h; instead of adding FILENAMES_H I've just added the dependency to SYSTEM_H 3) $(RTL_BASE_H) wasn't really needed at all and insn-modes.h is already included in $(CORETYPES_H) 2023-04-08 Jakub Jelinek <jakub@redhat.com> * Makefile.in (CORETYPES_H): Depend on align.h, poly-int.h and poly-int-types.h. (SYSTEM_H): Depend on $(HASHTAB_H). * config/riscv/t-riscv (build/genrvv-type-indexer.o): Remove unused dependency on $(RTL_BASE_H), remove redundant dependency on insn-modes.h.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions