This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 (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.

Attachment: add_builtin_type.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]