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: Need Help with Memory Exhaustion During Compile


On Thu, Jul 4, 2013 at 6:34 AM, Andrew Haley <aph@redhat.com> wrote:
> On 07/04/2013 11:07 AM, Jeffrey Walton wrote:
>> What can I do to try and isolate the problem?
>
> The problem is obvious: all those macros expand to some truly
> ridiculous code.  You can see this with "g++ -E"
Thanks Andrew.

The odd thing is, other compilers (GCC, ICC/ICPC, Clang, and MSVC) can
compile the file. I only have the problem with Apple's gcc/g++, which
is llvm-gcc. Once I switched to clang/clang++, the problem went away.

Jeff


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