sh.c (builtin_description): Add is_enabled member.
authorOleg Endo <olegendo@gcc.gnu.org>
Fri, 5 Oct 2012 19:47:05 +0000 (19:47 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Fri, 5 Oct 2012 19:47:05 +0000 (19:47 +0000)
commit6d9e1220503b37a3000dec2aaed3377160777617
tree36d76af4f78855ed68e43347a5ad809b5842e821
parent0d23cf7a4f9609763b600a7e9edf81e78e3f7a55
sh.c (builtin_description): Add is_enabled member.

* config/sh/sh.c (builtin_description): Add is_enabled member.
(shmedia_builtin_p): New function.
(bdesc): Use shmedia_builtin_p for existing built-ins.
(sh_media_init_builtins, sh_init_builtins): Merge into single function
sh_init_builtins.  Add is_enabled checking.  Move variable declarations
to where they are actually used.
(sh_media_builtin_decl, sh_builtin_decl): Merge into single function
sh_builtin_decl.  Add is_enabled checking.
(sh_expand_builtin): Move variable declarations to where they are
actually used.

From-SVN: r192142
gcc/ChangeLog
gcc/config/sh/sh.c