This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13239] [3.3/3.4 regression] Assertion does not seem to work correctly anymore


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]