Re: [PATCH] Fix Fortran FP classification/compare builtin folding

2015-10-28 Thread Tobias Burnus
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

[PATCH] Fix Fortran FP classification/compare builtin folding

2015-10-28 Thread Richard Biener
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). The sec