r181527 - Fix the return type of the complex creal functions. Patch by YunZhong Gao, modified to use _Static_assert and to check __STDC_HOSTED__ by me.

Dmitri Gribenko gribozavr at gmail.com
Thu May 9 10:47:34 PDT 2013


On Thu, May 9, 2013 at 8:41 PM, Richard Smith
<richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Thu May  9 12:41:19 2013
> New Revision: 181527
>
> URL: http://llvm.org/viewvc/llvm-project?rev=181527&view=rev
> Log:
> Fix the return type of the complex creal functions. Patch by YunZhong Gao, modified to use _Static_assert and to check __STDC_HOSTED__ by me.
>
> Modified:
>     cfe/trunk/lib/Headers/tgmath.h

Richard,

Did you forget to add the testcase?

Dmitri

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list