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: PATCH: PR middle-end/29862: Calling a function with gcc_assert


On Wed, 15 Nov 2006, H. J. Lu wrote:

> On Wed, Nov 15, 2006 at 10:11:10PM -0500, Kaveh R. GHAZI wrote:
> > Actually that's not true.  The definition of gcc_assert evaluates the
> > argument >even when assert checking is turned off<.  Look at the
> > definition in system.h.
>
> ((void)(0 && (mpfr_set_str (m, buf, 16, GMP_RNDN) == 0)));
>
> and gcc may not call mpfr_set_str. What do you have?
> H.J.

I was having a senior moment, never mind.  Thanks for fixing it.

		--Kaveh
Kaveh R. Ghazi			ghazi@caip.rutgers.edu
--


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