[Bug c/89872] [7/8/9 Regression] GCC does not generate read access to volatile compound literal

2019-03-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89872 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Fri Mar 29 19:32:20 2019 New Revision: 270023 URL: https://gcc.gnu.org/viewcvs?rev=270023=gcc=rev Log: PR c/89872 * gimplify.c (gimplify_compound_literal_expr): Don't

[Bug c/89872] [7/8/9 Regression] GCC does not generate read access to volatile compound literal

2019-03-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89872 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug c/89872] [7/8/9 Regression] GCC does not generate read access to volatile compound literal

2019-03-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89872 --- Comment #2 from Jakub Jelinek --- Created attachment 46055 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46055=edit gcc9-pr89872.patch Untested fix.

[Bug c/89872] [7/8/9 Regression] GCC does not generate read access to volatile compound literal

2019-03-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89872 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |7.5 Summary|GCC does not