http://llvm.org/bugs/show_bug.cgi?id=18330

            Bug ID: 18330
           Summary: Compiling GNU Units hangs clang 3.4+
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 11784
  --> http://llvm.org/bugs/attachment.cgi?id=11784&action=edit
reduced parse.tab.c

When compiling GNU Units 2.02 (http://www.gnu.org/software/units/) with clang
3.4 or 3.5, it hangs at parse.tab.c.
It was configured with CC=clang ./configure
It compiles and runs with clang 3.3.
I waited 15 minutes with 3.4 before giving up.

I am using clang 3.3, 3,4 and 3.5 from Ubuntu Trusty.
I also tried the Saucy packages from llvm.org/apt.

Turning off -O2 makes the compile succeeded.

I have tried to reduce a test-case.
clang -O -c units-clang-hang.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to