[PATCH] Fix PR65270

2015-03-09 Thread Richard Biener
This fixes tail-merging and folding related wrong-code regressions caused by ignoring alignment of memory references. It introduces OEP_ADDRESS_OF (in addition to OEP_CONSTANT_ADDRESS_OF) to not hurt the cases where we are only interested in addresses. Bootstrapped and tested on

[PATCH] Fix PR65270 some more

2015-03-04 Thread Richard Biener
The following two patches should address all issues regarding to alias analysis, restrict and ICF. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2015-03-04 Richard Biener rguent...@suse.de PR ipa/65270 * ipa-icf-gimple.c

[PATCH] Fix PR65270

2015-03-02 Thread Richard Biener
This makes IPA ICF compare alignment of accesses. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2015-03-02 Richard Biener rguent...@suse.de PR ipa/65270 * ipa-icf-gimple.c: Include builtins.h. (func_checker::compare_memory_operand): Compare