Message ID | ydd1rnde3c9.fsf_-_@CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
Series | [COMMITTED] Include memmodel.h in adjust-alignment.c | expand |
# HG changeset patch # Parent 874f4dad97cc15024c5ed184a1b4e54daa37e69a Include memmodel.h in adjust-alignment.c diff --git a/gcc/adjust-alignment.c b/gcc/adjust-alignment.c --- a/gcc/adjust-alignment.c +++ b/gcc/adjust-alignment.c @@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. #include "target.h" #include "tree.h" #include "tree-pass.h" +#include "memmodel.h" #include "tm_p.h" namespace {
Hi Kito, > Tested and committed with fixes, thanks your review :) this patch broke SPARC bootstrap: In file included from ./tm_p.h:4, from /vol/gcc/src/hg/master/local/gcc/adjust-alignment.c:28: /vol/gcc/src/hg/master/local/gcc/config/sparc/sparc-protos.h:45:47: error: use of enum 'memmodel' without previous declaration extern void sparc_emit_membar_for_model (enum memmodel, int, int); ^~~~~~~~ Fixed by including memmodel.h. Bootstrapped on sparc-sun-solaris2.11 and i386-pc-solaris2.11, installed as obvious. Rainer