re PR middle-end/47968 (ICE: in gen_lowpart_general, at rtlhooks.c:51 when converting...
authorRichard Guenther <rguenther@suse.de>
Fri, 4 Mar 2011 10:31:33 +0000 (10:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 4 Mar 2011 10:31:33 +0000 (10:31 +0000)
commitb147c5b92f3bbcda3d5d464d65bdf76e666c34a5
treec2f8b971696b932d85ac468f2e244e1604dbfcb4
parent8750672faeaa9c633e2b2051c01fab6c6ceef81b
re PR middle-end/47968 (ICE: in gen_lowpart_general, at rtlhooks.c:51 when converting vector of double to vector of float)

2011-03-04  Richard Guenther  <rguenther@suse.de>

PR middle-end/47968
* expmed.c (extract_bit_field_1): Prefer vector modes that
vec_extract patterns can handle.

* gcc.dg/torture/pr47968.c: New testcase.

From-SVN: r170673
gcc/ChangeLog
gcc/expmed.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr47968.c [new file with mode: 0644]