[llvm-bugs] [Bug 31117] crash on valid C code at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (Assertion `Headers.size() >= 2 && "Expected irreducible CFG; -loop-info is likely invalid"' failed.)

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jan 7 18:16:52 PST 2017


Davide Italiano <davide at freebsd.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Davide Italiano <davide at freebsd.org> ---
Fixed in trunk.

$ ./clang blah.c -O3 -o /dev/null
blah.c:12:15: warning: implicitly declaring library function 'printf' with type
'int (const char *, ...)' [-Wimplicit-function-declaration]
      int k = printf("%d\n", g);
blah.c:12:15: note: include the header <stdio.h> or explicitly provide a
declaration for 'printf'
blah.c:37:5: warning: expression result unused [-Wunused-value]
2 warnings generated.

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/20170108/5d59e4cc/attachment.html>

More information about the llvm-bugs mailing list