PATCH: PR middle-end/29862: Calling a function with gcc_assert

Kaveh R. GHAZI ghazi@caip.rutgers.edu
Thu Nov 16 05:19:00 GMT 2006


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
--



More information about the Gcc-patches mailing list