From 7fa14a013045ffc50f3b280223d067ee406ca06d Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Tue, 29 Nov 2011 17:33:05 +0000 Subject: Enable target specific builtins and macros when using the target attribute or pragma on rs6000 From-SVN: r181809 --- gcc/common/config/rs6000/rs6000-common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/common') 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); -- cgit v1.1