aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.cc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2023-02-20 11:40:24 +0100
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2023-02-20 11:40:24 +0100
commit7b8916a6fd098546e4e53e53b37a5153664ba17f (patch)
tree0cb382a9519ce97ac0a0fed4a402335bf3fd04d3 /gcc/cgraphclones.cc
parentae113080a9f98e807db239f3ad2157c64324542f (diff)
downloadgcc-7b8916a6fd098546e4e53e53b37a5153664ba17f.zip
gcc-7b8916a6fd098546e4e53e53b37a5153664ba17f.tar.gz
gcc-7b8916a6fd098546e4e53e53b37a5153664ba17f.tar.bz2
rust: Fix rust-tree.cc compilation on SPARC
This patch commit 27a89f84c458ae938bc3eb92ad0d594c06fc3b42 Author: Thomas Schwinge <thomas@codesourcery.com> Date: Fri Feb 17 23:36:20 2023 +0100 '#include "tm_p.h"' in 'gcc/rust/backend/rust-tree.cc' broke rust bootstrap on SPARC: In file included from ./tm_p.h:4, from /vol/gcc/src/hg/master/local/gcc/rust/backend/rust-tree.cc:38: /vol/gcc/src/hg/master/local/gcc/config/sparc/sparc-protos.h:46:47: error: use of enum 'memmodel' without previous declaration 46 | extern void sparc_emit_membar_for_model (enum memmodel, int, int); | ^~~~~~~~ Fixed by including memmodel.h. Tested on sparc-sun-solaris2.11 and i386-pc-solaris2.11. 2023-02-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> gcc/rust: * backend/rust-tree.cc: Include memmodel.h.
Diffstat (limited to 'gcc/cgraphclones.cc')
0 files changed, 0 insertions, 0 deletions