* wide-int.h (generic_wide_int): Declare as class instead of struct.
authorGerald Pfeifer <gerald@pfeifer.com>
Sat, 16 Aug 2014 19:27:54 +0000 (19:27 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sat, 16 Aug 2014 19:27:54 +0000 (19:27 +0000)
From-SVN: r214068

gcc/ChangeLog
gcc/wide-int.h

index 081bd12..16b2877 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-16  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * wide-int.h (generic_wide_int): Declare as class instead of struct.
+
 2014-08-16  John David Anglin  <danglin@gcc.gnu.org>
 
        PR target/61641
index f108116..2cbcbd2 100644 (file)
@@ -282,7 +282,7 @@ along with GCC; see the file COPYING3.  If not see
     wi::int_traits <WI_UNARY_RESULT (T)>::get_binary_result (X, X); \
   HOST_WIDE_INT *VAL = RESULT.write_val ()
 
-template <typename T> struct generic_wide_int;
+template <typename T> class generic_wide_int;
 template <int N> struct fixed_wide_int_storage;
 class wide_int_storage;