[patch] Clean up some lang_hooks pushdecl uses in the back ends

2012-03-05 Thread Steven Bosscher
Hello, This is a simple cleanup that introduces a new function add_builtin_type and uses it in the mep and rs6000 back ends. Bootstrapped and tested on powerpc64-unknown-linux-gnu (gcc110) and verified that a cross to mep builds. OK for trunk? Ciao! Steven * langhooks.c

Re: [patch] Clean up some lang_hooks pushdecl uses in the back ends

2012-03-05 Thread Richard Henderson
On 03/05/2012 01:43 PM, Steven Bosscher wrote: * langhooks.c (add_builtin_type): New function. * langhooks.h (add_builtin_type): Export it. * config/mep/mep.c (mep_init_builtins): Use it. * config/rs6000/rs6000.c (rs6000_init_builtins): Use it. Ok. r~