diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-29 17:33:05 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-29 17:33:05 +0000 |
commit | 0375b2290a01c773eb9a899e65cb368cfaa93d50 (patch) | |
tree | 737e31fc34a78e159fbf80d41ff8ed08ce3c6999 /gcc/common | |
parent | 1902e0276bf63b0b2645cf4de9ebaf9e92248d27 (diff) | |
download | gcc-0375b2290a01c773eb9a899e65cb368cfaa93d50.tar.gz |
Enable target specific builtins and macros when using the target attribute or pragma on rs6000
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181809 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common')
-rw-r--r-- | gcc/common/config/rs6000/rs6000-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/common/config/rs6000/rs6000-common.c b/gcc/common/config/rs6000/rs6000-common.c index 683240f27ba..f40b69e3676 100644 --- a/gcc/common/config/rs6000/rs6000-common.c +++ b/gcc/common/config/rs6000/rs6000-common.c @@ -202,6 +202,8 @@ rs6000_handle_option (struct gcc_options *opts, struct gcc_options *opts_set, mask = MASK_DEBUG_COST; else if (! strcmp (q, "target")) mask = MASK_DEBUG_TARGET; + else if (! strcmp (q, "builtin")) + mask = MASK_DEBUG_BUILTIN; else error_at (loc, "unknown -mdebug-%s switch", q); |