diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2011-11-29 17:33:05 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2011-11-29 17:33:05 +0000 |
commit | 7fa14a013045ffc50f3b280223d067ee406ca06d (patch) | |
tree | 737e31fc34a78e159fbf80d41ff8ed08ce3c6999 /gcc/common | |
parent | 8f5c9d66594de0e717d7d559054d5bfb2f2f5246 (diff) | |
download | gcc-7fa14a013045ffc50f3b280223d067ee406ca06d.zip gcc-7fa14a013045ffc50f3b280223d067ee406ca06d.tar.gz gcc-7fa14a013045ffc50f3b280223d067ee406ca06d.tar.bz2 |
Enable target specific builtins and macros when using the target attribute or pragma on rs6000
From-SVN: r181809
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 683240f..f40b69e 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); |