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, fortran] PR20373 - intrinsic symbols can be given the wrong type


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


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