Re: [patch] Fix PR rtl-optimization/102306

2021-09-16 Thread Jeff Law via Gcc-patches
On 9/16/2021 3:02 AM, Eric Botcazou wrote: Hi, this is a duplication of volatile loads introduced during GCC 9 development by the new 2->2 mechanism of the RTL combiner. There is already a substantial checking for volatile references in can_combine_p but it implicitly assumes that the combin

[patch] Fix PR rtl-optimization/102306

2021-09-16 Thread Eric Botcazou
Hi, this is a duplication of volatile loads introduced during GCC 9 development by the new 2->2 mechanism of the RTL combiner. There is already a substantial checking for volatile references in can_combine_p but it implicitly assumes that the combination reduces the number of instructions, whi