summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorMichael Meissner <meissner@the-meissners.org>2011-12-02 17:18:51 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2011-12-02 17:18:51 +0000
commit73cb28d7d09c925b39ee120308f5a3db3e0f9b30 (patch)
tree9da8f9185f3e5ea4e85eaf154940deec0fbb3667 /gcc/config
parent5f2e30efbeb6f361e414de35e7ae9ec5165ff009 (diff)
downloadgcc-73cb28d7d09c925b39ee120308f5a3db3e0f9b30.tar.gz
re PR target/51390 (Builtin changes on November 29th, broke recip-5.c)
PR 51390 From-SVN: r181930
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/rs6000.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index a615381fd73..4c6d64242a8 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -215,10 +215,7 @@ static GTY(()) section *toc_section;
struct builtin_description
{
- /* mask is not const because we're going to alter it below. This
- nonsense will go away when we rewrite the -march infrastructure
- to give us more target flag bits. */
- unsigned int mask;
+ const unsigned int mask;
const enum insn_code icode;
const char *const name;
const enum rs6000_builtins code;
@@ -9394,7 +9391,7 @@ static void
def_builtin (const char *name, tree type, enum rs6000_builtins code)
{
tree t;
- unsigned classify = rs6000_builtin_info[(int)code].mask;
+ unsigned classify = rs6000_builtin_info[(int)code].attr;
const char *attr_string = "";
gcc_assert (name != NULL);