]> granicus.if.org Git - clang/commit
UsualArithmeticConversions is crashing with an assert
authorChris Lattner <sabre@nondot.org>
Thu, 18 Oct 2007 03:50:33 +0000 (03:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Oct 2007 03:50:33 +0000 (03:50 +0000)
commit27b837c3b884b27279f7550361ef73b9896c7510
tree9069756c96197128af5278f0db79e7b0a60c9d0d
parentfd8b4a4b29a2b9d662d0c9a92c1eebd83160b10b
UsualArithmeticConversions is crashing with an assert
when comparing "float" and "const float".  This "fixes" the
issue, but may not be the right fix.  Steve, please review.

Testcase here: test/Sema/usual-float.c

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43113 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/SemaExpr.cpp
test/Sema/usual-float.c [new file with mode: 0644]