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]

Function pointer question


Hello,

I was wondering if someone could answer a question regarding the
feasibility (this is not a request for changes to GCC) of constant
function pointer inlining.  This obviously would require a compiler to
do an N-depth analysis of pointer assignments to confirm that the
value could not change (constant all the way back the address'
origin).

My question is; theoretically is this possible?  (I'm obviously not a
compiler programmer)

Thank you,
  Aaron


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