------- Comment #2 from paulf at free dot fr  2008-11-15 20:51 -------
I do not agree that this is a duplicate of 6614. 6614 is a consequence of
integer promotion, and there is no possible user code change that would make it
go away (other than avoiding integral types smaller than int in function
arguments).

This bug could be fixed by using the correct types in the assert macro, e.g.,

__builtin_expect ((long int)!!(expr), 1L)


-- 

paulf at free dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38116

Reply via email to