diff options
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index d3305cb4abe..0a1e787cbb7 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -92,6 +92,7 @@ along with GCC; see the file COPYING3. If not see #include "expr.h" #include "insn-attr.h" #include "recog.h" +#include "diagnostic-core.h" #include "toplev.h" #include "target.h" #include "optabs.h" @@ -1340,7 +1341,7 @@ setup_incoming_promotions (rtx first) bool strictly_local = false; for (arg = DECL_ARGUMENTS (current_function_decl); arg; - arg = TREE_CHAIN (arg)) + arg = DECL_CHAIN (arg)) { rtx x, reg = DECL_INCOMING_RTL (arg); int uns1, uns3; |