From 19b48b1d0125b919df4e3173081afd81f3fc6358 Mon Sep 17 00:00:00 2001 From: bstarynk Date: Wed, 18 Jan 2012 15:42:40 +0000 Subject: 2012-01-18 Basile Starynkevitch MELT branch merged with trunk rev 183270 using svnmerge [gcc/] 2012-01-18 Basile Starynkevitch * warmelt-base.melt (clone_with_discriminant): Better casts in macrostrings. * melt/xtramelt-ana-base.melt (tree_function_decl_named) (function_decl_of_name, tree_function_decl, tree_var_decl_named) (tree_var_decl, tree_var_decl_of_name, tree_const_decl_of_name) (tree_const_decl_named, tree_parm_decl_named) (tree_parm_decl_of_name, tree_parm_decl, tree_result_decl_named) (tree_result_decl, tree_result_decl_of_name): Improve or add or change. * melt/xtramelt-ana-simple.melt (meltframe_exec) (smaninterp_gimple, ...): Adapt to previous changes. * melt/xtramelt-c-generator.melt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183274 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/hard-reg-set.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gcc/hard-reg-set.h') diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index 9823a5b3441..ecdad174c13 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -1,6 +1,6 @@ /* Sets (bit vectors) of hard registers, and operations on them. Copyright (C) 1987, 1992, 1994, 2000, 2003, 2004, 2005, 2007, 2008, 2009, - 2010 Free Software Foundation, Inc. + 2010, 2012 Free Software Foundation, Inc. This file is part of GCC @@ -54,6 +54,14 @@ typedef HARD_REG_ELT_TYPE HARD_REG_SET[HARD_REG_SET_LONGS]; #endif +/* HARD_REG_SET wrapped into a structure, to make it possible to + use HARD_REG_SET even in APIs that should not include + hard-reg-set.h. */ +struct hard_reg_set_container +{ + HARD_REG_SET set; +}; + /* HARD_CONST is used to cast a constant to the appropriate type for use with a HARD_REG_SET. */ -- cgit v1.2.1