diff mbox

__intN patch 3/5: main __int128 -> __intN conversion.

Message ID 543E3492.2010201@oracle.com
State New
Headers show

Commit Message

Paolo Carlini Oct. 15, 2014, 8:47 a.m. UTC
Hi,

On 10/14/2014 09:44 PM, DJ Delorie wrote:
>>> extensions.  Is this OK?  If so, is there anything else, or can I
>>> check the whole mess in yet?
>> Go ahead.
> Thanks!  Committed.
A couple of small issues in std/limits and in the testsuite are causing 
regressions which I'm fixing with the below.

Thanks,
Paolo.

//////////////////////
2014-10-15  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/limits: Remove stray spaces after backslash.
	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
	line number.
	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
	Likewise.
	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
	Likewise.

Comments

Marc Glisse Oct. 15, 2014, 11:25 a.m. UTC | #1
On Wed, 15 Oct 2014, Paolo Carlini wrote:

> A couple of small issues in std/limits and in the testsuite are causing 
> regressions which I'm fixing with the below.

-      max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; }         \ 
+      max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; }         \

Maybe shorten the double ;; as well?
diff mbox

Patch

Index: include/std/limits
===================================================================
--- include/std/limits	(revision 216237)
+++ include/std/limits	(working copy)
@@ -1422,7 +1422,7 @@ 
 	min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min_b (TYPE, BITSIZE); } \
  										\
       static _GLIBCXX_CONSTEXPR TYPE 						\
-      max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; } 	\	
+      max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE);; } 	\
  										\
       static _GLIBCXX_USE_CONSTEXPR int digits 					\
        = BITSIZE - 1; 								\
Index: testsuite/20_util/declval/requirements/1_neg.cc
===================================================================
--- testsuite/20_util/declval/requirements/1_neg.cc	(revision 216237)
+++ testsuite/20_util/declval/requirements/1_neg.cc	(working copy)
@@ -19,7 +19,7 @@ 
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-error "static assertion failed" "" { target *-*-* } 2142 }
+// { dg-error "static assertion failed" "" { target *-*-* } 2201 }
 
 #include <utility>
 
Index: testsuite/20_util/make_signed/requirements/typedefs_neg.cc
===================================================================
--- testsuite/20_util/make_signed/requirements/typedefs_neg.cc	(revision 216237)
+++ testsuite/20_util/make_signed/requirements/typedefs_neg.cc	(working copy)
@@ -48,5 +48,5 @@ 
 // { dg-error "required from here" "" { target *-*-* } 40 }
 // { dg-error "required from here" "" { target *-*-* } 42 }
 
-// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1807 }
-// { dg-error "declaration of" "" { target *-*-* } 1771 }
+// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1866 }
+// { dg-error "declaration of" "" { target *-*-* } 1830 }
Index: testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc
===================================================================
--- testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc	(revision 216237)
+++ testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc	(working copy)
@@ -48,5 +48,5 @@ 
 // { dg-error "required from here" "" { target *-*-* } 40 }
 // { dg-error "required from here" "" { target *-*-* } 42 }
 
-// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1710 }
-// { dg-error "declaration of" "" { target *-*-* } 1674 }
+// { dg-error "invalid use of incomplete type" "" { target *-*-* } 1754 }
+// { dg-error "declaration of" "" { target *-*-* } 1718 }