https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70846

            Bug ID: 70846
           Summary: GCC doesn't respond when compile my code
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hvksmr1996 at gmail dot com
  Target Milestone: ---

Created attachment 38360
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38360&action=edit
Source code

I tried to compile this particular code using MinGW 5.3.0 in Windows 10 64-bit,
when I hit enter to execute compile command, the compiler didn't respond.

Here's my command: g++ -Wall -Wextra -std=c++14 -o main.exe main.cpp

I opened taskmgr and saw a process named 'cc1plus.exe' with CPU usage 28 - 30 %
(my CPU is Intel Core i5 4210U) and RAM usage increase overtime until I see and
error message "cc1plus.exe: out of memory allocating 348411175 bytes
"

I also attached my code here

Reply via email to