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 C++] Fix c++/41536, always_inline does not work always with constructors


On 10/16/2009 03:05 PM, Jan Hubicka wrote:
+ DECL_ATTRIBUTES (clone) = DECL_ATTRIBUTES (fn);

I don't think it is safe to share (parts of) attributes list. It would be probably better to unshare it first?

I'm not sure, but we might as well be conservative, and using copy_list would be a simple way to do that. OK with that change. Please CC me on C++ patches, or at least on pings, as I tend to get behind on gcc-patches mail.


Jason


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