re PR middle-end/29719 (newlib targets ICEs in expand_builtin_int_roundingfn)
authorRichard Guenther <rguenther@suse.de>
Thu, 15 Mar 2007 20:14:49 +0000 (20:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 15 Mar 2007 20:14:49 +0000 (20:14 +0000)
commit34a24c113b24556bf858a0614491beb85152646e
tree7340698850120ae209ffafffbe6cb9c4642fe593
parent49ea3702aa813f8181f4803830e0506abbd19e7a
re PR middle-end/29719 (newlib targets ICEs in expand_builtin_int_roundingfn)

2007-03-15  Richard Guenther  <rguenther@suse.de>

PR middle-end/29719
PR middle-end/31161
* builtins.c (expand_builtin_int_roundingfn): Always fall
back to floor/ceil and its variants even if they may be
not available.
(expand_builtin_cexpi): As a fallback if we
don't have builtins for sincos or cexp create a function
declaration for cexp and expand to a call to that.

From-SVN: r122958
gcc/ChangeLog
gcc/builtins.c