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: [C++ Patch] PR 67216 ("false is still a null pointer constant")


+      if (TREE_CODE (type) == INTEGER_TYPE)
+	{
+	  if (TREE_CODE (t) == INTEGER_CST && integer_zerop (t)
+	      && !TREE_OVERFLOW (t))
+	    return true;
+	}

Let's fold those conditions together.  :)

OK.

Jason


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