]> granicus.if.org Git - clang/commit
Attempt to fix PR3709: when converting from an integer to a pointer,
authorEli Friedman <eli.friedman@gmail.com>
Wed, 4 Mar 2009 04:02:35 +0000 (04:02 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 4 Mar 2009 04:02:35 +0000 (04:02 +0000)
commit25615424741bcce31fe52c896f76268f0307f00d
tree158f229570dcc760690eec8b11e055e0d4e565b5
parentdab514fc30242c7afd6c03956e46136c400fb0d3
Attempt to fix PR3709: when converting from an integer to a pointer,
first extend the integer to the correct width.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66009 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/PR3709-int-to-pointer-sign.c [new file with mode: 0644]