[llvm-bugs] [Bug 33561] New: Compilation never finishes(or takes a very long time) when -fdelayed-template-parsing is passed

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 22 19:16:44 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33561

            Bug ID: 33561
           Summary: Compilation never finishes(or takes a very long time)
                    when -fdelayed-template-parsing is passed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: katya.romanova at sony.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18694
  --> https://bugs.llvm.org/attachment.cgi?id=18694&action=edit
heavily reduced reproducer

The compilation of this file hadn't finished in 4 hours. 
Infinite loop? The same test gets compiled in 0.008 seconds if I remove
-fdelayed-template-parsing option.

clang -c -w -std=c++14 -fdelayed-template-parsing test.cpp
clang version 5.0.0 (trunk 304834)

I ran creduce on the original testcase for 3 days and the resulting reproducer
is fairly small compared to the original one.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170623/1899155a/attachment.html>


More information about the llvm-bugs mailing list