------- Additional Comments From enh at jessies dot org  2004-11-06 20:52 -------
i guess it might be worth mentioning the work-around. if i change:

        base[k] = (new T[Blksize()]) - size;
        size += Blksize();

to:

        unsigned block_size = Blksize();
        base[k] = (new T[block_size]) - size;
        size += block_size;

it compiles just fine. i did try to come up with a small test case, but failed. the 
problem is obviously not 
as simple as this work-around implied.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18318

Reply via email to