------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca  2006-12-14 
16:12 -------
Subject: Re:  FAIL: gcc.dg/builtins-57.c scan-tree-dump trunc

> It looks like the target does not have trunc (a C99 function).  floor (C89) 
> and
> lfloor (GCC builtin) are always available.

Actually, trunc is available on HP-UX 11.

> Does it pass if you add -std=c99?

No.

The test passes on the hppa-linux target where __builtin_trunc is
used instead of __builtin_floor in function foo.  Don't know why.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30181

Reply via email to