[Bug middle-end/12285] Add sizeof_function functionality

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 18 07:34:00 GMT 2003


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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-18 07:23 -------
What would the use of the sizeof function anyway?
The only use I can think is that you want to copy it but the sizeof of function should all be 
handled by the dynamic linker (or static linker if the case you are linking staticly).  Also 
note what about functions which have multiply entry points how do you handle those?
I think this feature should not also be in GCC but you should be in the dynamic linker.



More information about the Gcc-bugs mailing list