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?


Paolo Bonzini wrote on 27 May 2008 15:36:

>>   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

  Thanks, that gives me enough grounds to go digging for a real bug.  I'll
go digging through the dumps and file a PR.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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