comparison gcc/tree-ssa.c @ 36:855418dad1a3

gcc-4.4-20091020
author e075725
date Tue, 22 Dec 2009 21:19:31 +0900
parents a06113de4d67
children 77e2b8dfacca
comparison
equal deleted inserted replaced
19:58ad6c70ea60 36:855418dad1a3
1470 struct walk_data *data = (struct walk_data *) wi->info; 1470 struct walk_data *data = (struct walk_data *) wi->info;
1471 tree t = *tp; 1471 tree t = *tp;
1472 1472
1473 /* We do not care about LHS. */ 1473 /* We do not care about LHS. */
1474 if (wi->is_lhs) 1474 if (wi->is_lhs)
1475 return NULL_TREE; 1475 {
1476 /* Except for operands of INDIRECT_REF. */
1477 if (!INDIRECT_REF_P (t))
1478 return NULL_TREE;
1479 t = TREE_OPERAND (t, 0);
1480 }
1476 1481
1477 switch (TREE_CODE (t)) 1482 switch (TREE_CODE (t))
1478 { 1483 {
1479 case ADDR_EXPR: 1484 case ADDR_EXPR:
1480 /* Taking the address of an uninitialized variable does not 1485 /* Taking the address of an uninitialized variable does not