[Bug c/38295] Support pointer difference as constant in static initializer

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 7 19:27:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38295

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
                 CC|                            |fw at gcc dot gnu.org
         Resolution|WONTFIX                     |---

--- Comment #10 from Florian Weimer <fw at gcc dot gnu.org> ---
This is already implemented for differences between C && label addresses.  I
think there is no compelling reason why this would not work for the addresses
of static functions, too.


More information about the Gcc-bugs mailing list