re PR c/84190 (double arithmetic on x86 no longer rounds to nearest)
authorRichard Biener <rguenther@suse.de>
Fri, 16 Feb 2018 07:56:16 +0000 (07:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Feb 2018 07:56:16 +0000 (07:56 +0000)
commitbd74f4d876ffa7090603bb5d317d7b6e52df43c0
tree7b31d1caca27355a4224431eef869f63a0bdf4b1
parentd78aecf47261c3bb6b03966db5d1db4564e98b1b
re PR c/84190 (double arithmetic on x86 no longer rounds to nearest)

2018-02-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84190
* tree-ssa.c (non_rewritable_mem_ref_base): Do not touch
volatile accesses if the decl isn't volatile.

* g++.dg/torture/pr84190.C: New testcase.

From-SVN: r257721
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr84190.C [new file with mode: 0644]
gcc/tree-ssa.c