This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13239] [3.3/3.4 regression] Assertion does not seem to work correctly anymore
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2003 00:04:44 -0000
- Subject: [Bug c++/13239] [3.3/3.4 regression] Assertion does not seem to work correctly anymore
- References: <20031130163447.13239.rmerkert@alphatech.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2003-12-03 00:04 -------
I just built a 3.3 CVS here, and it fails, too.
The bug is an interaction between __builtin_expect and the function
call. I tried to either replace the __builtin_expect with just
the conditional expression, or to do something like
return (__builtin_expect(...) ? 0 : 1);
to avoid the call to abort(), but the bug went away in both cases.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4 regression] Assertion |[3.3/3.4 regression]
|does not seem to work |Assertion does not seem to
|correctly anymore |work correctly anymore
Target Milestone|3.4 |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13239