[Bug c/38295] Support pointer difference as constant in static initializer
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 16 00:51:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38295
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |msebor at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
I'm going to out on a limb and close this as WONTFIX. First, I don't believe
this will or can be implemented for the reasons Andrew mentioned. The linker
also can and some linkers do reorder functions and so the notion of a
difference between them doesn't really make sense, either at runtime, but
certainly not at compile time. Second, there has been no activity on this
request in the last 8 years.
More information about the Gcc-bugs
mailing list