This is the mail archive of the gcc-help@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]

Re: cc1plus: out of memory allocating 33554432 bytes after a total of 38465536 bytes


Hi Pavel,

> It doesn't matter, why i do it on such way.

*shrug* Okay.  I thought you were solving a real world problem, rather than
just being an academic exercise in the limits of the GCC compiler.

> The quastion is, why g++ cannot compile (without optimisaion, -O0,
> -Q) function (even rathner large one), where is only assignation
> code? what can be simpler than that?

Because GCC is running out of memory.

Is your GCC compiled as a 64-bit application?  Are you running on a 64-bit
OS that supports applications running as 64-bit applications?  (Some 64-bit
OS's only support 32-bit client applications.)

(I'm not even sure if GCC can be compiled as a 64-bit application.  I know
it can be built to produce 64-bit applications... but that's not relevant.)

HTH,
--Eljay


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