> The testcase will fail due to several problems:
> - warning: large integer implicitly truncated to unsigned type [-Woverflow]
> - warning: AVX vector argument without AVX enabled changes the ABI [-Wpsabi]
> - missing int128 effective target check
> - missing runtime checks for BMI2 ISA support
A
Hello!
> 2016-03-01 Eric Botcazou
>
> PR rtl-optimization/70007
> * gcse.c (compute_ld_motion_mems): Tidy up and also invalidate memory
> references present in REG_EQUAL notes attached to non-SET patterns.
>
>
> 2016-03-01 Eric Botcazou
>
> * gcc.target/i386/pr70007.c: New test.
The testcas
It's a regression present on all active branches caused by the RTL enhanced
load motion optimization (-fgcse-lm), which performs PRE on "simple" MEMs and
discards all other memory references. The problem is that it fails to discard
a particular memory reference present in a REG_EQUAL note:
(in