This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wide-int] Fixup filename/class spellings
- From: Mike Stump <mikestump at comcast dot net>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 7 Sep 2013 12:25:30 -0700
- Subject: [wide-int] Fixup filename/class spellings
- Authentication-results: sourceware.org; auth=none
This fixes up the spellings of filenames and classes...
Index: wide-int.cc
===================================================================
--- wide-int.cc (revision 202354)
+++ wide-int.cc (working copy)
@@ -103,7 +103,7 @@ canonize (HOST_WIDE_INT *val, unsigned i
}
/*
- * Conversion routines in and out of wide-int.
+ * Conversion routines in and out of wide_int.
*/
/* Copy XLEN elements from XVAL to VAL. If NEED_CANON, canonize the
@@ -254,7 +254,7 @@ wi::from_mpz (const_tree type, mpz_t x,
make up for the fact that double int's could not represent the
min and max values of all types. This code should be removed
because the min and max values can always be represented in
- wide-ints and int-csts. */
+ wide_ints and int-csts. */
wide_int
wi::max_value (unsigned int precision, signop sgn)
{
Index: wide-int.h
===================================================================
--- wide-int.h (revision 202354)
+++ wide-int.h (working copy)
@@ -20,13 +20,13 @@ along with GCC; see the file COPYING3.
#ifndef WIDE_INT_H
#define WIDE_INT_H
-/* Wide-int.[cc|h] implements a class that efficiently performs
- mathematical operations on finite precision integers. Wide-ints
+/* wide-int.[cc|h] implements a class that efficiently performs
+ mathematical operations on finite precision integers. wide_ints
are designed to be transient - they are not for long term storage
- of values. There is tight integration between wide-ints and the
+ of values. There is tight integration between wide_ints and the
other longer storage GCC representations (rtl and tree).
- The actual precision of a wide-int depends on the flavor. There
+ The actual precision of a wide_int depends on the flavor. There
are three predefined flavors:
1) wide_int (the default). This flavor does the math in the
@@ -143,7 +143,7 @@ along with GCC; see the file COPYING3.
as long as they can be reconstructed from the top bit that is being
represented.
- There are constructors to create the various forms of wide-int from
+ There are constructors to create the various forms of wide_int from
trees, rtl and constants. For trees and constants, you can simply say:
tree t = ...;
@@ -172,10 +172,10 @@ along with GCC; see the file COPYING3.
without having to special case the front ends.
* When a constant that has an integer type is converted to a
- wide-int it comes in with precision 0. For these constants the
+ wide_int it comes in with precision 0. For these constants the
top bit does accurately reflect the sign of that constant; this
is an exception to the normal rule that the signedness is not
- represented. When used in a binary operation, the wide-int
+ represented. When used in a binary operation, the wide_int
implementation properly extends these constants so that they
properly match the other operand of the computation. This allows
you write: