www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13152] New: Compiler high cpu usage and never ends

https://issues.dlang.org/show_bug.cgi?id=13152

          Issue ID: 13152
           Summary: Compiler high cpu usage and never ends
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: mingodad gmail.com

When trying to update http://www.dsource.org/projects/bcd/ to compile with
2.065 I found that the compiler seems to enter on an infinite loop with high
cpu usage and never ends, memory consumption remains stable.

DMD/gdc trunk also have the same problem but gdc 4.8.1 works properly, although
showing compilation errors.

To see this problem download http://svn.dsource.org/projects/bcd/trunk/bindings
and on it's root folder issue this command:

make libxml2exa

The compiler never ends eating all cpu.

--
Jul 17 2014