diff mbox

PR other/54324: remove <union> template parameter

Message ID 50D08AE5.6040602@redhat.com
State New
Headers show

Commit Message

Aldy Hernandez Dec. 18, 2012, 3:25 p.m. UTC
As discussed earlier, removing the <union> brings happiness to older g++'s.

Committed as obvious, per your previous comment.
commit 5d215dbbe1c37aaf98307cb71d250222fb802114
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Tue Dec 18 09:21:28 2012 -0600

    	PR other/54324
    	* tree-ssa-coalesce.c (struct ssa_name_var_hash): Remove "union"
    	from template parameter.
diff mbox

Patch

diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c
index ce04fdf..47eba97 100644
--- a/gcc/tree-ssa-coalesce.c
+++ b/gcc/tree-ssa-coalesce.c
@@ -1259,7 +1259,7 @@  coalesce_partitions (var_map map, ssa_conflicts_p graph, coalesce_list_p cl,
 
 /* Hashtable support for storing SSA names hashed by their SSA_NAME_VAR.  */
 
-struct ssa_name_var_hash : typed_noop_remove <union tree_node>
+struct ssa_name_var_hash : typed_noop_remove <tree_node>
 {
   typedef union tree_node value_type;
   typedef union tree_node compare_type;