Commit c8aa02cc by Michael Meissner Committed by Michael Meissner

re PR target/44877 (C++ compiler can no longer compile dealII for VSX/Altivec vectorization)

PR 44877

From-SVN: r162002
parent 4bade865
2010-07-08 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/44877
* config/rs6000/rs6000.c (rs6000_expand_builtin): Use
POINTER_TYPE_P instead of checking only for POINTER_TYPE for the
builtin mask for load/store builtins.
2010-07-09 Uros Bizjak <ubizjak@gmail.com>
* configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check
......
......@@ -11523,7 +11523,7 @@ rs6000_expand_builtin (tree exp, rtx target, rtx subtarget ATTRIBUTE_UNUSED,
gcc_assert (TARGET_ALTIVEC);
arg = CALL_EXPR_ARG (exp, 0);
gcc_assert (TREE_CODE (TREE_TYPE (arg)) == POINTER_TYPE);
gcc_assert (POINTER_TYPE_P (TREE_TYPE (arg)));
op = expand_expr (arg, NULL_RTX, Pmode, EXPAND_NORMAL);
addr = memory_address (mode, op);
if (fcode == ALTIVEC_BUILTIN_MASK_FOR_STORE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment