public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7095] RISC-V: Add target machine headers as a dependency for riscv-sr.o
@ 2022-02-08 12:24 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2022-02-08 12:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3faeba72cf93bdbf0b42d6b1b65fd4f0794f9d2a

commit r12-7095-g3faeba72cf93bdbf0b42d6b1b65fd4f0794f9d2a
Author: Maciej W. Rozycki <macro@embecosm.com>
Date:   Tue Feb 8 12:14:58 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.

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 096d70e3c91..19736b3a38f 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.cc $(CONFIG_H) \
 		$(srcdir)/config/riscv/riscv-builtins.cc
 
 riscv-sr.o: $(srcdir)/config/riscv/riscv-sr.cc $(CONFIG_H) \
-  $(SYSTEM_H)
+  $(SYSTEM_H) $(TM_H)
 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
 		$(srcdir)/config/riscv/riscv-sr.cc


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-08 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 12:24 [gcc r12-7095] 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).