Richard Biener wrote: > The following fixes missed constant folding of __builtin_signbit and > friends. The first issue is that the calls were never detected as > having compatible arguments because the FE builds the function > types in a wrong way (they should be variadic but have 'void', > even multiple!, arguments). [...]
> Bootstrap / regtest pending on x86_64-unknown-linux-gnu. > Are the fortran parts ok? OK. Thanks for the patch. Tobias > 2015-10-28 Richard Biener <rguent...@suse.de> > > * gimple-match-head.c (gimple_simplify): Remove premature checking > of builtin_decl_implicit of function calls we simplify. > > fortran/ > * f95-lang.c: Properly build variadic types for classification > and comparison builtins.