https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84734
--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Fri, Mar 09, 2018 at 06:28:24PM +0000, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84734 > > --- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > > I've removed the "known to work" entries > > as I get failures on FreeBSD. > > What failures? > > With 6.4.0 or 7.3.0 I get the same errors as with r257970. > On 6, troutmask:sgk[249] gfc6 -o z a.f90 f951: internal compiler error: Segmentation fault 0xa2f27f crash_signal ../../gcc6/gcc/toplev.c:333 0x588edb gfc_zero_size_array ../../gcc6/gcc/fortran/arith.c:1657 0x588edb reduce_binary0 ../../gcc6/gcc/fortran/arith.c:1671 0x588edb eval_intrinsic_f3 ../../gcc6/gcc/fortran/arith.c:1720 0x5baf34 simplify_intrinsic_op ../../gcc6/gcc/fortran/expr.c:1051 0x5baf34 gfc_simplify_expr(gfc_expr*, int) ../../gcc6/gcc/fortran/expr.c:1883 0x5ac1fb variable_decl ../../gcc6/gcc/fortran/decl.c:2276 0x5ac1fb gfc_match_data_decl() ../../gcc6/gcc/fortran/decl.c:4957 0x5fef59 match_word_omp_simd ../../gcc6/gcc/fortran/parse.c:93 0x60274e match_word ../../gcc6/gcc/fortran/parse.c:373 0x60274e decode_statement ../../gcc6/gcc/fortran/parse.c:373 0x604444 next_free On 7, gfc7 -o z a.f90 a.f90:2:43: integer, parameter :: b(1_k + huge(1_k)) 1 Error: Explicit shaped array with nonconstant bounds at (1) The error is clearly wrong as (1) it should reduce and (2) the queued error Overflow error is emitted.