OSDN Git Service

PR middle-end/17055
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2004 02:39:18 +0000 (02:39 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2004 02:39:18 +0000 (02:39 +0000)
commit80db63ef7d714135955f070c0d90fdc369aa21d7
tree23084ccb47738efb8c8ceb2cc535f0fd0434593b
parent93fe66e56cb15ecf7dc174c28675226908d3ca46
PR middle-end/17055
* fold-const.c (build_zero_vector): New function to construct a
vector (either floating point or integer) of zeros.
(fold_convert): Internally, enable conversions of integer zero
to arbitrary vector types, using the new build_zero_vector.

* gcc.dg/pr17055-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87272 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr17055-1.c [new file with mode: 0644]