This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix for [Bug tree-optimization/37573] [4.4 Regression] gcc-4.4 regression: incorrect code generation with -O1 -ftree-vectorize


Hi Richi,
what is the status of this bug?  Isn't the proposed fix correct?

Thanks,
Sebastian

Index: tree-data-ref.c
===================================================================
--- tree-data-ref.c	(revision 141542)
+++ tree-data-ref.c	(working copy)
@@ -551,6 +551,7 @@ split_constant_offset_1 (tree type, tree
 	enum machine_mode pmode;
 	int punsignedp, pvolatilep;

+	op0 = TREE_OPERAND (op0, 0);
 	if (!handled_component_p (op0))
 	  return false;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]