This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug tree-optimization/45340] __builtin_expect and -Os generates stupid code
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- Cc: "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>
- Date: Wed, 25 Aug 2010 05:42:56 -0700
- Subject: Re: [Bug tree-optimization/45340] __builtin_expect and -Os generates stupid code
- References: <bug-45340-17114@http.gcc.gnu.org/bugzilla/> <20100825122336.2282.qmail@sourceware.org>
On Aug 25, 2010, at 5:23 AM, "socketpair at gmail dot com" <gcc-bugzilla@gcc.gnu.org
> wrote:
------- Comment #7 from socketpair at gmail dot com 2010-08-25
12:23 -------
Well, I understand that problem is not in __builtin_expect.
Should I open new, separate bug about block reordering and
generating "jmp to
next line" ?
No because it is not jumping to the next line but across the next
instruction which just happens to be an inline-asm which is blank.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45340