]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/19857 (alignment check of SSE constant fails in simple test program)
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Feb 2005 13:54:30 +0000 (14:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Feb 2005 13:54:30 +0000 (14:54 +0100)
commit8940b3b2a75b188bc68c747082657d5d1e6c82b2
treea0e729b4caa91a35b874138ae8a236e49b023751
parent838731b61e6f6b91ed60653823abfc380e012a09
re PR middle-end/19857 (alignment check of SSE constant fails in simple test program)

PR middle-end/19857
* fold-const.c (fold): Don't optimize (T)(x & cst) to
(T)x & (T)cst if (T)cst overflows.
* convert.c (convert_to_integer) <case POINTER_TYPE>: Pass
TYPE_UNSIGNED (type) as type_for_size's UNSIGNEDP argument.

* gcc.dg/tree-ssa/20050215-1.c: New test.
* gcc.c-torture/execute/20050215-1.c: New test.

From-SVN: r95106
gcc/ChangeLog
gcc/convert.c
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20050215-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/20050215-1.c [new file with mode: 0644]
This page took 0.053598 seconds and 5 git commands to generate.