summaryrefslogtreecommitdiff
path: root/gcc/opth-gen.awk
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opth-gen.awk')
-rw-r--r--gcc/opth-gen.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk
index 54d2a9bf48e..46bd570f6f7 100644
--- a/gcc/opth-gen.awk
+++ b/gcc/opth-gen.awk
@@ -382,6 +382,8 @@ for (i = 0; i < n_opts; i++) {
}
print "#define TARGET_" name \
" ((" vname " & " mask name ") != 0)"
+ print "#define TARGET_" name "_P(" vname ")" \
+ " ((" vname " & " mask name ") != 0)"
}
}
for (i = 0; i < n_extra_masks; i++) {