Asking for HELP
Hi! I'm trying to modify the GCC source code to get something done. But there's a difficulty in understanding how to use some functions and data structures. Please help me with some hints. Here is the problem: in the file GCC-source/gcc/c/c-decl.c, before 'c_decl_attributes' is called in 'start_function', I want to insert some additional optimize attributes in 'attributes' tree to be proceed, but I could not find the correct way to insert a new tree in it. Thanks in advance.
Re: Asking for HELP
On Tue, Apr 9, 2024 at 9:47 AM Jora Gevorgyan via Gcc wrote: > > Hi! > > We're trying to improve the optimization process in GCC by adding manual > optimization attributes to some needed functions. I couldn't yet find the > code routine where the attributes can be added to a special function > declaration. Could you please help me understand what's happening there? I think you need to elaborate on what kind of attributes and what exactly a special function declaration is for us to give a reasonable answer. Maybe giving an example helps understanding your request. Richard. > Thanks in advance.
Asking for HELP
Hi! We're trying to improve the optimization process in GCC by adding manual optimization attributes to some needed functions. I couldn't yet find the code routine where the attributes can be added to a special function declaration. Could you please help me understand what's happening there? Thanks in advance.