The original testcase of PR31639 still results in an ICE if -std=gnu but is handled correctly if -std=f95 or -std=f2003. This update changes the related gfc_notify_std() to gfc_error(). Further, as F2003 allows more transformational intrinsics in initialization expressions than F95, we ICE on those as shown in PR25104. The second part of the patch changes this ice-on-valid to reject-valid for now. 2007-07-22 Daniel Franke PR fortran/25104 PR fortran/31639 * expr.c(check_transformational): Reject valid transformational intrinsics to avoid ICE. (check_inquiry): Report error for assumed character lengths for all supported standards. 2007-07-22 Daniel Franke PR fortran/31639 * gfortran.dg/initialization_9.f90: New test. Regression tested on i686-pc-linux-gnu. Ok for trunk? Regards Daniel