[Fortran] PR22375: Promote arguments to __builtin_expect
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Mar 30 02:41:00 GMT 2006
On Wed, Mar 29, 2006 at 06:11:52PM -0700, Roger Sayle wrote:
>
> The following patch resolves PR middle-end/22375 which is a type
> mismatch problem with Andrew Pinski's strict type checking patches.
> The problem is that the gfortran front-ends is generating calls
> to the __builtin_expect instrinsic in gfc_trans_runtime_check
> without correctly promoting the function arguments to the expected
> type, or casting the result back to a boolean_type_node. This is
> fixed by the patch below.
>
> The following patch has been tested on x86_64-unknown-linux-gnu
> with a full "make bootstrap", including fortran, and regression
> tested with a top-level "make -k check" with no new failures.
>
> Ok for mainline?
>
OK.
I plan to review your other patchs this weekend if no one
beats me to the review.
--
Steve
More information about the Fortran
mailing list