[patch, fortran] PR20373 - intrinsic symbols can be given the wrong type

Paul Richard Thomas paul.richard.thomas@gmail.com
Tue Jun 19 15:04:00 GMT 2007


Daniel,

>
>Update:
>Some functions whose return type depends on their respective arguments had not
>set a type at all, i.e. isym->ts.type == BT_UNKNOWN. The functions in
>question are: ALL, ANY, DOT_PRODUCT, AND, OR, XOR, MIN, MAX and SUM (but not
>e.g. PRODUCT).

OK
>
>To unify this, the "most likely" default types were added to these functions
>as done for other functions, e.g. PRODUCT. Also, instead of an unconditional
>warning for different types, the warning will only be shown
>if -Wsurprinsing/-Wall was specified at the command line.

I am much happier with this.
>
>Again, ok for trunk?

OK

Thanks

Paul

-- 
I love deadlines. I love the whooshing sound they make as they go by.
--Douglas Adams



More information about the Fortran mailing list