public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PR other/54324: remove <union> template parameter
@ 2012-12-18 15:26 Aldy Hernandez
  0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2012-12-18 15:26 UTC (permalink / raw)
  To: Richard Biener; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]

As discussed earlier, removing the <union> brings happiness to older g++'s.

Committed as obvious, per your previous comment.

[-- Attachment #2: curr --]
[-- Type: text/plain, Size: 790 bytes --]

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 --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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-18 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-18 15:26 PR other/54324: remove <union> template parameter Aldy Hernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).