[Bug middle-end/56098] [4.6/4.7 Regression] conditional write through volatile pointer produces unintended read

2013-02-01 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56098 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2013-02-01 14:16:28 UTC --- Author: jakub Date: Fri Feb 1 14:16:20 2013 New Revision: 195663 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=195663 Log: Backported

[Bug middle-end/56098] [4.6/4.7 Regression] conditional write through volatile pointer produces unintended read

2013-01-25 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56098 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Summary|[4.6/4.7/4.8 Regression]|[4.6/4.7

[Bug middle-end/56098] [4.6/4.7 Regression] conditional write through volatile pointer produces unintended read

2013-01-25 Thread werner at almesberger dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56098 --- Comment #6 from werner at almesberger dot net 2013-01-25 22:46:17 UTC --- Thanks for the analysis and the fixes ! I'll try them soonish. Regarding work-arounds, the ones I mentioned for my original code snippet (i.e., -O1 or

[Bug middle-end/56098] [4.6/4.7 Regression] conditional write through volatile pointer produces unintended read

2013-01-25 Thread werner at almesberger dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56098 --- Comment #7 from werner at almesberger dot net 2013-01-26 02:09:33 UTC --- I'm happy to confirm that trunk (for x86-64) now passes all variations of this theme I tried with flying colors. Thanks again !