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: Out of memory when compiling a function with many goto labels (50k > )


On 01/25/2013 08:35 PM, Kangkook Jee wrote:
> As you can see from the above, -O1 option trigger the problem while -O0
> doesn't.
> 
> Could you anyone tell me how to workaround this situation? Or which specific
> optimization option causes the issue?

It seems to happen when we're computing alias sets.  GCC really should bail
out when the CFG gets to be so huge.  It's worth submitting a bug.

Andrew.


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