[llvm-bugs] [Bug 33041] clang crashes with "-mllvm -enable-newgvn": Do not know how to expand the result of this operator!

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 15 19:27:47 PDT 2017


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

Davide Italiano <davide at freebsd.org> changed:

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

--- Comment #2 from Davide Italiano <davide at freebsd.org> ---
Yes, it's a dupe, and it doesn't crash with the patch in D33226 

[davide at cupiditate bin]$ ./clang banana.c -c -O2 -mllvm -enable-newgvn -m32
banana.c:6:5: warning: incompatible pointer to integer conversion assigning to
'long' from 'long long *' [-Wint-conversion]
  c = &f;
    ^ ~~
banana.c:14:3: warning: expression result unused [-Wunused-value]
  b - f ?: (*g &= 9);
  ^~~~~~~~~~~~~~~~~~
2 warnings generated.
[davide at cupiditate bin]$

*** This bug has been marked as a duplicate of bug 32945 ***

-- 
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/20170516/d0ad62d9/attachment.html>


More information about the llvm-bugs mailing list