http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53381
--- Comment #9 from dave.anglin at bell dot net 2012-05-17 14:39:41 UTC --- On 5/17/2012 2:48 AM, jakub at gcc dot gnu.org wrote: > Note that e.g. dse.c (scan_insn) handles the AVX mem* just fine, but won't > handle this PA pattern because (set (reg) (call ...)) isn't the first thing in > the parallel. Any reason for that? There is no reason other than the RTL was trying to reflect the save and restore of the PIC register. I hacked the call patterns to completely hide the handling of the PIC register until they are split after reload. So far, testing looks ok.