Re: [PATCH] postreload: Invalidate reg_state info at barrier/volatile insns

2011-11-18 Thread Eric Botcazou
With the patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 the regstate information is resetted at the unspec_volatile instead of invalidated! You're right. This wouldn't have happened if the code had been properly commented. 2011-11-14 Andreas Krebbel

[PATCH] postreload: Invalidate reg_state info at barrier/volatile insns

2011-11-14 Thread Andreas Krebbel
Hi, a problem in postreload causes a miscompilation of libgomp on s390x. insn 1: r1 = r1 + r2 insn 2: r3 = r1 insn 3: unspec_volatile insn 4: use r1 With the patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49452 the regstate information is resetted at the unspec_volatile instead of