This is the mail archive of the gcc-bugs@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]

[Bug middle-end/12285] Add sizeof_function functionality


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12285



------- Additional Comments From mkgnu at gmx dot net  2003-09-18 15:50 -------
The use of sizeof_function() would be to calculate during compile the size of a
function's text segment. One may want to copy that function during runtime and
create multiple copies of it (e.g. create new functions based on a template).

I am not sure what needs to happen on the case that a function has multiple
entry points. Any C function you compile will result into a text segment. I
don't see where the multiple entrypoints are. It may be called from different
other functions, but that doesn't matter. I don't think I understand what you mean.

Please read the thread.


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