[Bug c++/45645] pr44972.C fails with error: ‘__assert_fail’ was not declared in this scope

2010-09-30 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645 Jack Howarth howarth at nitro dot med.uc.edu changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-21 Thread iains at gcc dot gnu dot org
--- Comment #9 from iains at gcc dot gnu dot org 2010-09-21 14:13 --- Subject: Bug 45645 Author: iains Date: Tue Sep 21 14:12:58 2010 New Revision: 164479 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164479 Log: 2010-09-21 Jonathan Wakely r...@gcc.gnu.org Jack

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-14 Thread jamborm at gcc dot gnu dot org
--- Comment #8 from jamborm at gcc dot gnu dot org 2010-09-14 11:53 --- Sorry, I messed up when I tried to remove includes from the testcase. Thanks for fixing it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-13 Thread ro at gcc dot gnu dot org
--- Comment #2 from ro at gcc dot gnu dot org 2010-09-13 16:43 --- Same on *-*-solaris2* (probably on all non-Linux targets). -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-13 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2010-09-13 17:04 --- the test already includes cassert so presumably the fix is simply to replace line 77 with T const* operator-() const { assert(this-is_initialized()) ; return this-get_ptr_impl() ; } --

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-13 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-09-13 17:12 --- I agree with Jon: the expansion of assert to __assert_fail, etc, isn't portable, the testcase should simply use assert. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-13 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2010-09-13 19:13 --- I can confirm that the change... Index: gcc/testsuite/g++.dg/torture/pr44972.C === --- gcc/testsuite/g++.dg/torture/pr44972.C (revision

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-13 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-09-13 21:01 --- Please properly post the patch to the mailing list and let's resolve this rather straightforward issue. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-13 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2010-09-13 22:33 --- Patch posted at http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01144.html. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-10 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-09-11 01:29 --- Created an attachment (id=21770) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21770action=view) preprocessed source for g++.dg/torture/pr44972.C -O0 Generated with...