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: [C/C++ PATCH] Call make_decl_rtl in {,c_}determine_visibility if DECL_RTL is set and visibility changed (PR target/39175)


Jakub Jelinek wrote:

> After this make_decl_rtl is called, determines the function binds locally and
> sets SYMBOL_FLAG_LOCAL|SYMBOL_FLAG_FUNCTION.

In general, it's unpleasant to change the RTL for a DECL after it's been
created.  We do it, but it's a wart.  Really, we should wait until we
have enough information to commit, and then generate the RTL once.  Is
it essential that we create the RTL this early?

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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