re PR middle-end/33666 (Type verification failure with pointer to long long conversion)
authorRichard Guenther <rguenther@suse.de>
Fri, 5 Oct 2007 16:33:25 +0000 (16:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 5 Oct 2007 16:33:25 +0000 (16:33 +0000)
commit6aa12f4ffb5d7156e36ccceece6b8a8a83ae520f
tree7e671b5aaa5937f432deacc82380c31465101592
parent1596d61e6efe75dd6fdf2b23d6028f1431143ccb
re PR middle-end/33666 (Type verification failure with pointer to long long conversion)

2007-10-05  Richard Guenther  <rguenther@suse.de>

PR middle-end/33666
* fold-const.c (fold_unary): Do not fold (long long)(int)ptr
to (long long)ptr.

* gcc.dg/pr33666.c: New testcase.

From-SVN: r129036
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr33666.c [new file with mode: 0644]