aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch
diff options
context:
space:
mode:
authorJoseph Benden <joe@benden.us>2019-05-08 11:52:56 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2019-06-16 16:40:08 +0200
commit88c07c655262ea63c342e7c9df67cfe36fe3e5df (patch)
tree249f0c4db7f90c33210d986937d0828d5c183106 /toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch
parent9b53201d9c53cd7021455ac9748b3dba744b468b (diff)
downloadupstream-88c07c655262ea63c342e7c9df67cfe36fe3e5df.tar.gz
upstream-88c07c655262ea63c342e7c9df67cfe36fe3e5df.tar.bz2
upstream-88c07c655262ea63c342e7c9df67cfe36fe3e5df.zip
toolchain: Add GCC 9.1.0 release
Most of the patches are copied over from GCC 8.3. The following patches are backported from the GCC 9.X development branch: toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch toolchain/gcc/patches/9.1.0/975-g++-ICE-with-generic-lambda.patch The specs file changed with gcc 9, now it contains "%@{L*}" instead of "%{L*}" in older GCC versions. Signed-off-by: Joseph Benden <joe@benden.us>
Diffstat (limited to 'toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch')
-rw-r--r--toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch b/toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch
new file mode 100644
index 0000000000..9c2fe23507
--- /dev/null
+++ b/toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch
@@ -0,0 +1,38 @@
+From f36b864c7d84b36883c6190c83b31c0a8c15172b Mon Sep 17 00:00:00 2001
+From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Fri, 3 May 2019 11:22:33 +0000
+Subject: [PATCH] 2019-05-03 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/90316
+ * tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries
+ before running VN.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@270849 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 6 ++++++
+ gcc/tree-ssa-pre.c | 1 +
+ 2 files changed, 7 insertions(+)
+
+--- a/gcc/ChangeLog
++++ b/gcc/ChangeLog
+@@ -1,3 +1,9 @@
++2019-05-03 Richard Biener <rguenther@suse.de>
++
++ PR tree-optimization/90316
++ * tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries
++ before running VN.
++
+ 2019-05-03 Release Manager
+
+ * GCC 9.1.0 released.
+--- a/gcc/tree-ssa-pre.c
++++ b/gcc/tree-ssa-pre.c
+@@ -4197,6 +4197,7 @@ pass_pre::execute (function *fun)
+ loop_optimizer_init (LOOPS_NORMAL);
+ split_critical_edges ();
+ scev_initialize ();
++ calculate_dominance_info (CDI_DOMINATORS);
+
+ run_rpo_vn (VN_WALK);
+