http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54757
Bug #: 54757 Summary: FAIL: ext/random/beta_distribution/cons/default.cc (test for excess errors) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 Executing on host: /test/gnu/gcc/objdir/./gcc/g++ -shared-libgcc -B/test/gnu/gcc/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++ -v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp -hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/sys-include -B/test/gnu/gcc/objd ir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-le ngth=0 -g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/ hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc -std=c++0x ./libtestc++.a -lm -o ./default.exe (timeout = 600)spawn /test/gnu/gcc/objdir/./gcc/g++ -shared-libgcc -B/test/gnu/gcc/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/lib/ -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/sys-include -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc -std=c++0x ./libtestc++.a -lm -o ./default.exe In file included from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24:0: /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random: In member function '__gnu_cxx::rice_distribution<_RealType>::result_type __gnu_cxx::rice_distribution<_RealType>::operator()(_UniformRandomNumberGenerator&)': /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1045:11: error: 'hypot' is not a member of 'std' return std::hypot(__x, __y); ^ /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1045:11: note: suggested alternative: In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:46:0, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/random:38, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:38, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/objdir/gcc/include-fixed/math.h:128:20: note: 'hypot' extern double hypot(double, double); ^ In file included from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24:0: /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random: In member function '__gnu_cxx::rice_distribution<_RealType>::result_type __gnu_cxx::rice_distribution<_RealType>::operator()(_UniformRandomNumberGenerator&, const __gnu_cxx::rice_distribution<_RealType>::param_type&)': /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1057:11: error: 'hypot' is not a member of 'std' return std::hypot(__x, __y); ^ /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1057:11: note: suggested alternative: In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:46:0, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/random:38, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:38, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/objdir/gcc/include-fixed/math.h:128:20: note: 'hypot' extern double hypot(double, double); ^ In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1852:0, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/gcc-4.8/libstdc++-v3/include/ext/random.tcc: In member function 'void __gnu_cxx::rice_distribution<_RealType>::__generate_impl(_OutputIterator, _OutputIterator, _UniformRandomNumberGenerator&, const __gnu_cxx::rice_distribution<_RealType>::param_type&)': /test/gnu/gcc/gcc-4.8/libstdc++-v3/include/ext/random.tcc:735:15: error: 'hypot' is not a member of 'std' *__f++ = std::hypot(__x, __y); ^ /test/gnu/gcc/gcc-4.8/libstdc++-v3/include/ext/random.tcc:735:15: note: suggested alternative: In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:46:0, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/random:38, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:38, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/objdir/gcc/include-fixed/math.h:128:20: note: 'hypot' extern double hypot(double, double); ^ compiler exited with status 1 output is: In file included from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24:0: /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random: In member function '__gnu_cxx::rice_distribution<_RealType>::result_type __gnu_cxx::rice_distribution<_RealType>::operator()(_UniformRandomNumberGenerator&)': /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1045:11: error: 'hypot' is not a member of 'std' return std::hypot(__x, __y); ^ /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1045:11: note: suggested alternative: In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:46:0, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/random:38, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:38, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/objdir/gcc/include-fixed/math.h:128:20: note: 'hypot' extern double hypot(double, double); ^ In file included from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24:0: /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random: In member function '__gnu_cxx::rice_distribution<_RealType>::result_type __gnu_cxx::rice_distribution<_RealType>::operator()(_UniformRandomNumberGenerator&, const __gnu_cxx::rice_distribution<_RealType>::param_type&)': /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1057:11: error: 'hypot' is not a member of 'std' return std::hypot(__x, __y); ^ /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1057:11: note: suggested alternative: In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:46:0, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/random:38, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:38, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/objdir/gcc/include-fixed/math.h:128:20: note: 'hypot' extern double hypot(double, double); ^ In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1852:0, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/gcc-4.8/libstdc++-v3/include/ext/random.tcc: In member function 'void __gnu_cxx::rice_distribution<_RealType>::__generate_impl(_OutputIterator, _OutputIterator, _UniformRandomNumberGenerator&, const __gnu_cxx::rice_distribution<_RealType>::param_type&)': /test/gnu/gcc/gcc-4.8/libstdc++-v3/include/ext/random.tcc:735:15: error: 'hypot' is not a member of 'std' *__f++ = std::hypot(__x, __y); ^ /test/gnu/gcc/gcc-4.8/libstdc++-v3/include/ext/random.tcc:735:15: note: suggested alternative: In file included from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:46:0, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/random:38, from /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:38, from /test/gnu/gcc/gcc/libstdc++-v3/testsuite/ext/random/beta_distribution/cons/default.cc:24: /test/gnu/gcc/objdir/gcc/include-fixed/math.h:128:20: note: 'hypot' extern double hypot(double, double); ^ FAIL: ext/random/beta_distribution/cons/default.cc (test for excess errors) Excess errors: /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1045:11: error: 'hypot' is not a member of 'std' /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/ext/random:1057:11: error: 'hypot' is not a member of 'std' /test/gnu/gcc/gcc-4.8/libstdc++-v3/include/ext/random.tcc:735:15: error: 'hypot' is not a member of 'std' UNRESOLVED: ext/random/beta_distribution/cons/default.cc compilation failed to produce executable There are a bunch of other similar fails.