public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-10454] RISC-V: Add target machine headers as a dependency for riscv-sr.o
@ 2022-02-14 17:37 Maciej W. Rozycki
0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2022-02-14 17:37 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b7b2611273b218dc210f94b2158e3dde7fb1b477
commit r10-10454-gb7b2611273b218dc210f94b2158e3dde7fb1b477
Author: Maciej W. Rozycki <macro@embecosm.com>
Date: Mon Feb 14 17:36:46 2022 +0000
RISC-V: Add target machine headers as a dependency for riscv-sr.o
Make riscv-sr.o depend on target machine headers, removing spurious test
failures:
FAIL: gcc.target/riscv/save-restore-3.c scan-assembler-not call[ \t]*t0,__riscv_save_0
FAIL: gcc.target/riscv/save-restore-3.c scan-assembler-not tail[ \t]*__riscv_restore_0
FAIL: gcc.target/riscv/save-restore-3.c scan-assembler tail[ \t]*foo
FAIL: gcc.target/riscv/save-restore-6.c scan-assembler-not call[ \t]*t0,__riscv_save_0
FAIL: gcc.target/riscv/save-restore-6.c scan-assembler-not tail[ \t]*__riscv_restore_0
FAIL: gcc.target/riscv/save-restore-6.c scan-assembler tail[ \t]*other_func
if the definitions of UNSPECs are locally changed and GCC rebuilt from a
dirty tree.
gcc/
* config/riscv/t-riscv (riscv-sr.o): Add $(TM_H) dependency.
(cherry picked from commit 3faeba72cf93bdbf0b42d6b1b65fd4f0794f9d2a)
Diff:
---
gcc/config/riscv/t-riscv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/t-riscv b/gcc/config/riscv/t-riscv
index 5ecb3c160a6..6930ca4d9e4 100644
--- a/gcc/config/riscv/t-riscv
+++ b/gcc/config/riscv/t-riscv
@@ -6,7 +6,7 @@ riscv-builtins.o: $(srcdir)/config/riscv/riscv-builtins.c $(CONFIG_H) \
$(srcdir)/config/riscv/riscv-builtins.c
riscv-sr.o: $(srcdir)/config/riscv/riscv-sr.c $(CONFIG_H) \
- $(SYSTEM_H)
+ $(SYSTEM_H) $(TM_H)
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(srcdir)/config/riscv/riscv-sr.c
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-14 17:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 17:37 [gcc r10-10454] RISC-V: Add target machine headers as a dependency for riscv-sr.o Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).