http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53424
Bug #: 53424
Summary: dynamic array expressions get wrong sizeof() if
pointers to const are involved and the pointers are
changed (const is misapplied to the whole expression)
Clas
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53424
--- Comment #1 from Frank Barrus 2012-05-20 05:31:02
UTC ---
Of particular attention, look at the example function "negativesizeof2".
It's not just the sizeof() function returning the incorrect size. In this
case, the pointer change retroactivel