This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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  <rguenther@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]