[PATCH] PR fortran/81027 -- Issue error for assumed-shape array

2018-12-25 Thread Steve Kargl
Tested on i586-*-freebsd. OK to commit? 2018-12-25 Steven G. Kargl PR fortran/81027 * expr.c (gfc_check_init_expr): Issue an error message for an assumed-shape array as opposed to a deferred-shape array. 2018-12-25 Steven G. Kargl PR fortran/81027

[PATCH] PR fortran/81984 -- Placate the sanitizer

2018-12-25 Thread Steve Kargl
Tested on i586-*-freebsd. OK to commit? 2018-12-25 Steven G. Kargl PR fortran/81984 * intrinsics/string_intrinsics_inc.c: Placate the sanitizer. -- Steve Index: libgfortran/intrinsics/string_intrinsics_inc.c ===

[PATCH,fortran] Add support for IEEE_SUBNORMAL

2018-12-25 Thread Steve Kargl
Fortran 2018 has added IEEE_SUBNORMAL, IEEE_POSITIVE_SUBNORMAL, and IEEE_NEGATIVE_SUBNORMAL as counterparts the same features with the DENORMAL name. The attached patch allows gfortran to recognize and do the right thing with these featuers. OK to commit? 2018-12-25 Steven G. Kargl *

Re: [PATCH,fortran] Add pre-defined macros for different available types

2018-12-25 Thread Steve Kargl
> +} > + > + for (int_info = gfc_integer_kinds; int_info->kind != 0; int_info++) > +{ > + if (int_info->kind == 1) > + cpp_define (cpp_in, "__GFC_INT_1__=1"); > + if (int_info->kind == 2) > + cpp_define (cpp_in, "__GFC_INT_2__=1"); > + if (int_info->kind == 8) > +

[PATCH,fortran] Add pre-defined macros for different available types

2018-12-25 Thread Steve Kargl
Here's a Holiday present for Fortranners. 2018-12-25 Steven G. Kargl * cpp.c (gfc_cpp_init): Add pre-defined macros for INTEGER(1) INTEGER(2), INTEGER(8) and INTEGER(16) if supported. Add pre-defined macros for REAL(10) and REAL(16) if available. * gfortran.te

Re: [Committed] XFAIL gfortran.dg/ieee/ieee_9.f90

2018-12-25 Thread Steve Kargl
On Tue, Dec 25, 2018 at 09:51:03AM +0200, Janne Blomqvist wrote: > On Mon, Dec 24, 2018 at 9:42 PM Steve Kargl < > s...@troutmask.apl.washington.edu> wrote: > > > On Mon, Dec 24, 2018 at 09:29:50PM +0200, Janne Blomqvist wrote: > > > On Mon, Dec 24, 2018 at 8:05 PM Steve Kargl < > > > s...@troutma

Re: Fix devirtualization with LTO

2018-12-25 Thread Richard Biener
On December 24, 2018 8:17:51 PM GMT+01:00, Jan Hubicka wrote: >> On December 24, 2018 4:15:09 PM GMT+01:00, Jan Hubicka > wrote: >> >> UNRESOLVED: g++-dg-lto-devirt-13-01.exe scan-tree-dump-times ssa >> >> "OBJ_TYPE_REF" 0 >> >> UNRESOLVED: g++-dg-lto-devirt-13-11.exe scan-tree-dump-times ssa >>