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]

Re: [PATCH ARM]: PR67745: Fix function alignment after __attribute__ 2/2


On 10/12/2015 12:56 PM, Christian Bruel wrote:
yes I see, I was hoping to avoid a new hook, but as you said it seems
mandatory for the mere declaration case.

Here is one proposal, it defaults to nothing and the ARM implementation
does not need to handle the vptr bit setting. so that simplifies a lot
the things.

The hook is called from rest_of_decl_compilation for mere declarations
and allocate_struct_function for definitions.

This looks good to me. I still think we also want your vptr patch.


Bernd


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