PR tree-optimization/113673: Avoid load merging when potentially trapping.
[official-gcc.git] / gcc / config / arc / t-arc
blob7db11414d058ed90c38256ff8e490c9de1213396
1 # GCC Makefile fragment for Synopsys DesignWare ARC.
3 # Copyright (C) 2016-2024 Free Software Foundation, Inc.
5 # This file is part of GCC.
7 # GCC is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3, or (at your option) any later version.
11 # GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 # FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
14 # details.
16 # You should have received a copy of the GNU General Public License along
17 # with GCC; see the file COPYING3.  If not see
18 # <http://www.gnu.org/licenses/>.
20 TM_H += $(srcdir)/config/arc/arc-c.def
22 driver-arc.o: $(srcdir)/config/arc/driver-arc.cc \
23   $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H)
24         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
26 arc-c.o: $(srcdir)/config/arc/arc-c.cc $(CONFIG_H) $(SYSTEM_H) \
27 $(TREE_H) $(TM_H) $(TM_P_H) coretypes.h
28         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
29                 $(srcdir)/config/arc/arc-c.cc
31 #Run `arc-cpus` if you changed something in arc-cpus.def
33 .PHONY: arc-cpus
35 arc-cpus: $(srcdir)/config/arc/t-multilib \
36         $(srcdir)/config/arc/arc-tables.opt
38 $(srcdir)/config/arc/t-multilib: $(srcdir)/config/arc/genmultilib.awk   \
39                                  $(srcdir)/config/arc/arc-cpus.def
40         $(AWK) -f $< -v FORMAT=Makefile $< $(srcdir)/config/arc/arc-cpus.def > $@
42 $(srcdir)/config/arc/arc-tables.opt: $(srcdir)/config/arc/genoptions.awk \
43                                  $(srcdir)/config/arc/arc-cpus.def
44         $(AWK) -f $< -v FORMAT=Makefile $< $(srcdir)/config/arc/arc-cpus.def > $@
46 PASSES_EXTRA += $(srcdir)/config/arc/arc-passes.def
48 # Local Variables:
49 # mode: Makefile
50 # End: