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: [Fortran] PR22375: Promote arguments to __builtin_expect


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


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