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]

[committed] Build valid PA-RISC function pointer for fixup in __canonicalize_funcptr_for_compare


The attached change is preparation for a patch to optimize indirect calls.  For this, we need to a
valid function pointer for fixup in __canonicalize_funcptr_for_compare.  The least-significant two
bits of the pointer should have the value 2, not 3, when the pointer points to a function descriptor.

Tested on hppa-unknown-linux-gnu and committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net


Attachment: fptr.c.d.txt
Description: Text document


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