File gcc-8.patch of Package legion
From ca6bd6b00d89f3e0a865f048addf8d68adf07dbb Mon Sep 17 00:00:00 2001
From: Christoph Junghans <junghans@lanl.gov>
Date: Sun, 4 Feb 2018 13:05:18 -0700
Subject: [PATCH] workaround for gcc-8 compiler bug
Ref: StanfordLegion/legion#350
https://github.com/StanfordLegion/legion/issues/350#issuecomment-363245859
---
runtime/realm/id.inl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/runtime/realm/id.inl b/runtime/realm/id.inl
index 8fdd114b2..a0675d9c2 100644
--- a/runtime/realm/id.inl
+++ b/runtime/realm/id.inl
@@ -96,7 +96,7 @@ namespace Realm {
ID id;
id.rsrv.type_tag = FMT_Reservation::TAG_VALUE;
id.rsrv.creator_node = creator_node;
- id.rsrv.unused = 0;
+ //id.rsrv.unused = 0;
id.rsrv.rsrv_idx = rsrv_idx;
return id;
}
@@ -111,7 +111,7 @@ namespace Realm {
ID id;
id.memory.type_tag = FMT_Memory::TAG_VALUE;
id.memory.owner_node = owner_node;
- id.memory.unused = 0;
+ //id.memory.unused = 0;
id.memory.mem_idx = mem_idx;
return id;
}
@@ -126,7 +126,7 @@ namespace Realm {
ID id;
id.memory.type_tag = FMT_IB_Memory::TAG_VALUE;
id.memory.owner_node = owner_node;
- id.memory.unused = 0;
+ //id.memory.unused = 0;
id.memory.mem_idx = mem_idx;
return id;
}
@@ -157,7 +157,7 @@ namespace Realm {
ID id;
id.proc.type_tag = FMT_Processor::TAG_VALUE;
id.proc.owner_node = owner_node;
- id.proc.unused = 0;
+ //id.proc.unused = 0;
id.proc.proc_idx = proc_idx;
return id;
}
--
2.14.3