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]

Re: [PATCH] Fix PR35972, full redundancy eliminations with PRE and the alias oracle


+       switch (op->opcode)
+ 	{

...

+ 	case ARRAY_RANGE_REF:
+ 	case ARRAY_REF:
+ 	  *op0_p = build4 (ARRAY_REF, op->type, NULL_TREE,
+ 			   op->op0, op->op1, op->op2);
+ 	  op0_p = &TREE_OPERAND (*op0_p, 0);
+ 	  break;

Maybe build4 (op->opcode)? (Did you test Ada)?


Paolo


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