This is the mail archive of the gcc@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: Weak symbols vs. ptr-to-function: invalid optimisation or undefined behaviour?



  if (!register_frame_fn)
    register_frame_fn = __register_frame_info;

Yes, here __register_frame_info is assumed to be non-zero *for non-weak functions*, see tree_single_nonzero_warnv_p. I don't know why your __register_frame_info is not seen as weak.


Paolo


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