PR tree-opt/22356
* testsuite/gcc.dg/pr22356-1.c: New test.
2005-07-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/22356
* tree-complex.c (expand_complex_libcall): Produce
REALPART_EXPR/IMAGPART_EXPR with the correct type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101781
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-07-08 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR tree-opt/22356
+ * tree-complex.c (expand_complex_libcall): Produce
+ REALPART_EXPR/IMAGPART_EXPR with the correct type.
+
2005-07-08 Kenneth Zadeck <zadeck@naturalbridge.com>
* bitmap.c (bitmap_and, bitmap_and_into, bitmap_and_compl,
+2005-07-08 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR tree-opt/22356
+ * testsuite/gcc.dg/pr22356-1.c: New test.
+
2005-07-08 Nathan Sidwell <nathan@codesourcery.com>
PR c++/21799
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2 -std=gnu99" } */
+typedef _Complex float GFC_COMPLEX_4;
+void product_c4 (GFC_COMPLEX_4 *src, GFC_COMPLEX_4 *dest, int len)
+{
+ int n;
+ GFC_COMPLEX_4 result;
+ for (n = 0; n < len; n++, src += 1)
+ result *= *src;
+ *dest = result;
+}
if (in_ssa_p)
{
tree lhs = TREE_OPERAND (stmt, 0);
+ type = TREE_TYPE (type);
update_complex_components (bsi, stmt,
build1 (REALPART_EXPR, type, lhs),
build1 (IMAGPART_EXPR, type, lhs));