This is the mail archive of the gcc-patches@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]

Re: Assertify m68k


Richard Henderson wrote:
On Fri, Apr 29, 2005 at 10:14:30AM +0100, Nathan Sidwell wrote:

! 	    if (addr != 0)
! 	      {
! 		abort ();
! 	      }

...


! gcc_assert (!addr);


Failed to invert the condition.

um, not this one, !(addr != 0) -> (addr == 0) -> !addr


Thanks for checking, it's not like I don't make mistakes inverting these
conditions :)

nathan


-- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk


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