This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/18318] [4.0 Regression] ICE: error: Multiple inline callers


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]