OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR target/43471
[pf3gnuchains/gcc-fork.git]
/
gcc
/
alias.c
diff --git
a/gcc/alias.c
b/gcc/alias.c
index
19a8292
..
4be7085
100644
(file)
--- a/
gcc/alias.c
+++ b/
gcc/alias.c
@@
-413,7
+413,7
@@
alias_set_subset_of (alias_set_type set1, alias_set_type set2)
/* Otherwise, check if set1 is a subset of set2. */
ase = get_alias_set_entry (set2);
if (ase != 0
/* Otherwise, check if set1 is a subset of set2. */
ase = get_alias_set_entry (set2);
if (ase != 0
- && (
(ase->has_zero_child && set1 == 0)
+ && (
ase->has_zero_child
|| splay_tree_lookup (ase->children,
(splay_tree_key) set1)))
return true;
|| splay_tree_lookup (ase->children,
(splay_tree_key) set1)))
return true;
@@
-1691,14
+1691,7
@@
base_alias_check (rtx x, rtx y, enum machine_mode x_mode,
|| (GET_CODE (y_base) == ADDRESS && GET_MODE (y_base) == Pmode))
return 0;
|| (GET_CODE (y_base) == ADDRESS && GET_MODE (y_base) == Pmode))
return 0;
- if (! flag_argument_noalias)
- return 1;
-
- if (flag_argument_noalias > 1)
- return 0;
-
- /* Weak noalias assertion (arguments are distinct, but may match globals). */
- return ! (GET_MODE (x_base) == VOIDmode && GET_MODE (y_base) == VOIDmode);
+ return 1;
}
/* Convert the address X into something we can use. This is done by returning
}
/* Convert the address X into something we can use. This is done by returning
@@
-2189,13
+2182,6
@@
nonoverlapping_memrefs_p (const_rtx x, const_rtx y)
exprx = t;
}
}
exprx = t;
}
}
- else if (INDIRECT_REF_P (exprx))
- {
- exprx = TREE_OPERAND (exprx, 0);
- if (flag_argument_noalias < 2
- || TREE_CODE (exprx) != PARM_DECL)
- return 0;
- }
moffsety = MEM_OFFSET (y);
if (TREE_CODE (expry) == COMPONENT_REF)
moffsety = MEM_OFFSET (y);
if (TREE_CODE (expry) == COMPONENT_REF)
@@
-2217,13
+2203,6
@@
nonoverlapping_memrefs_p (const_rtx x, const_rtx y)
expry = t;
}
}
expry = t;
}
}
- else if (INDIRECT_REF_P (expry))
- {
- expry = TREE_OPERAND (expry, 0);
- if (flag_argument_noalias < 2
- || TREE_CODE (expry) != PARM_DECL)
- return 0;
- }
if (! DECL_P (exprx) || ! DECL_P (expry))
return 0;
if (! DECL_P (exprx) || ! DECL_P (expry))
return 0;