[Bug c/38295] Support pointer difference as constant in static initializer
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 27 18:34:00 GMT 2008
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-11-27 18:33 -------
(In reply to comment #2)
> I'm not following. Why arrays? Those are pointers, and their difference is
> known at compile time.
Not at compile time really, the difference is known at link time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38295
More information about the Gcc-bugs
mailing list