Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
afe03c23
Commit
afe03c23
authored
Feb 23, 2012
by
Edward Smith-Rowland
Committed by
Edward Smith-Rowland
Feb 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add testsuite checks for param_type in the <random> distributions.
From-SVN: r184501
parent
89f06627
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
83 additions
and
20 deletions
+83
-20
libstdc++-v3/ChangeLog
+43
-0
libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc
+2
-1
libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc
+2
-1
No files found.
libstdc++-v3/ChangeLog
View file @
afe03c23
2012-02-14 Edward Smith-Rowland <3dw4rd@verizon.net>
* testsuite/26_numerics/random/
uniform_real_distribution/requirements/typedefs.cc: Check param_type.
* testsuite/26_numerics/random/
piecewise_constant_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
chi_squared_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
normal_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
uniform_int_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
poisson_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
bernoulli_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
discrete_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
weibull_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
cauchy_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
negative_binomial_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
gamma_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
fisher_f_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
exponential_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
binomial_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
lognormal_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
extreme_value_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
piecewise_linear_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
student_t_distribution/requirements/typedefs.cc: Ditto.
* testsuite/26_numerics/random/
geometric_distribution/requirements/typedefs.cc: Ditto.
2012-02-17 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/50349
...
...
libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
bernoulli_distribution
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
binomial_distribution
<
int
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
cauchy_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
chi_squared_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/discrete_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
discrete_distribution
<>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
exponential_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
extreme_value_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
fisher_f_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
gamma_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
geometric_distribution
<
int
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
lognormal_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
negative_binomial_distribution
<
int
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/normal_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
normal_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/piecewise_constant_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
piecewise_constant_distribution
<>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-12-03 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
piecewise_linear_distribution
<>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
poisson_distribution
<
int
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
student_t_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
uniform_int_distribution
<
int
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
uniform_real_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/requirements/typedefs.cc
View file @
afe03c23
...
...
@@ -4,7 +4,7 @@
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
// Copyright (C) 2008, 2009
, 2012
Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
...
...
@@ -32,4 +32,5 @@ test01()
typedef
std
::
weibull_distribution
<
double
>
test_type
;
typedef
test_type
::
result_type
result_type
;
typedef
test_type
::
param_type
param_type
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment