This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26367] multiple levels of __builtin_expect
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2006 10:03:53 -0000
- Subject: [Bug c/26367] multiple levels of __builtin_expect
- References: <bug-26367-12219@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2006-02-21 10:03 -------
With exception to 'certain' this doesn't really make sense. And the 'certain'
one
should be called __builtin_assert(). But then, VRP or DOM might already
extract information from
if (x == 0)
abort();
return x;
(no, neither 4.1 nor mainline can do this ATM).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26367