This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18318] [4.0 Regression] ICE: error: Multiple inline callers
- From: "enh at jessies dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2004 20:52:08 -0000
- Subject: [Bug tree-optimization/18318] [4.0 Regression] ICE: error: Multiple inline callers
- References: <20041106204324.18318.enh@jessies.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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