[Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier

2019-10-24 Thread fuchedzhy at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812

--- Comment #13 from Gregory Fuchedzhy  ---
(In reply to Richard Biener from comment #12)
> Fixed.
Thanks a lot, Richard!

[Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier

2019-10-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812

Richard Biener  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Known to fail||7.4.0

--- Comment #12 from Richard Biener  ---
Fixed.

[Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier

2019-10-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812

--- Comment #11 from Richard Biener  ---
Author: rguenth
Date: Thu Oct 24 09:38:56 2019
New Revision: 277370

URL: https://gcc.gnu.org/viewcvs?rev=277370=gcc=rev
Log:
2019-10-24  Richard Biener  

Backport from mainline
2019-10-17  Richard Biener  

PR debug/91887
* dwarf2out.c (gen_formal_parameter_die): Also try to match
context_die against a DW_TAG_GNU_formal_parameter_pack parent.

* g++.dg/debug/dwarf2/pr91887.C: New testcase.

2019-09-19  Richard Biener  

PR tree-optimization/91812
* tree-ssa-phiprop.c (propagate_with_phi): Do not replace
volatile loads.

* gcc.dg/torture/pr91812.c: New testcase.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr91812.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/dwarf2out.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/tree-ssa-phiprop.c

[Bug tree-optimization/91812] [7 Regression] GCC ignores volatile modifier

2019-10-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91812

--- Comment #10 from Richard Biener  ---
Author: rguenth
Date: Wed Oct 23 12:31:24 2019
New Revision: 277319

URL: https://gcc.gnu.org/viewcvs?rev=277319=gcc=rev
Log:
2019-10-23  Richard Biener  

Backport from mainline
2019-10-17  Richard Biener  

PR debug/91887
* dwarf2out.c (gen_formal_parameter_die): Also try to match
context_die against a DW_TAG_GNU_formal_parameter_pack parent.

* g++.dg/debug/dwarf2/pr91887.C: New testcase.

2019-09-19  Richard Biener  

PR tree-optimization/91812
* tree-ssa-phiprop.c (propagate_with_phi): Do not replace
volatile loads.

* gcc.dg/torture/pr91812.c: New testcase.

2019-09-17  Richard Biener  

PR debug/91772
* dwarf2out.c (dwarf2out_late_global_decl): If early dwarf
was missing generate locations only once.

Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr91812.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/dwarf2out.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tree-ssa-phiprop.c