diff options
author | Michael Meissner <gnu@the-meissners.org> | 2008-08-30 23:50:40 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2008-08-30 23:50:40 +0000 |
commit | 5779e7133d84c5873249bb643d9852f314022f0b (patch) | |
tree | b3ee120a2ecf25d00fba24415c8566f83135a110 /gcc/targhooks.c | |
parent | 0257eee5bd4700647061f61b13a2f89b2a4b4f28 (diff) | |
download | gcc-5779e7133d84c5873249bb643d9852f314022f0b.zip gcc-5779e7133d84c5873249bb643d9852f314022f0b.tar.gz gcc-5779e7133d84c5873249bb643d9852f314022f0b.tar.bz2 |
Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop}
From-SVN: r139812
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r-- | gcc/targhooks.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 4e9b9ad..8edfcfc 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -715,6 +715,19 @@ default_target_option_valid_attribute_p (tree ARG_UNUSED (fndecl), tree ARG_UNUSED (args), int ARG_UNUSED (flags)) { + warning (OPT_Wattributes, + "target attribute is not supported on this machine"); + + return false; +} + +bool +default_target_option_pragma_parse (tree ARG_UNUSED (args), + tree ARG_UNUSED (pop_target)) +{ + warning (OPT_Wpragmas, + "#pragma GCC target is not supported for this machine"); + return false; } |