2017-09-22 21:32 GMT+02:00 Janus Weil <ja...@gcc.gnu.org>: > 2017-09-22 11:44 GMT+02:00 Janus Weil <ja...@gcc.gnu.org>: >> 2017-09-22 9:11 GMT+02:00 Janne Blomqvist <blomqvist.ja...@gmail.com>: >>> And since the standard requires that double precision variables are >>> twice as big as reals, in the absence of an explicit -fdefault-double= >>> flag, would it make sense to have -fdefault-real=N imply >>> -fdefault-double=[2*N or if that isn't supported on the target, the >>> largest supported real kind]? >> >> That's basically the behavior I tried to implement in my current patch >> (although I notice now that you're not necessarily getting the largest >> real kind, if 16 is not supported). > > Attached is a new version of the patch, which improves this point. In > the absence of further comments, I'll commit this by tomorrow.
Landed on trunk as r253117. Cheers, Janus