F2003 C926 (F2008 C929) tells me that I cannot use DELIM in an input/output statement that isn't namelist formatting or list directed. ifort appears to miss this constraint.
PROGRAM p IMPLICIT NONE WRITE (*, "(A)", DELIM='QUOTE') 'Oh. That''s a bit unfortunate.' END PROGRAM p
>ifort /check:all /warn:all /standard-semantics /stand:f2003 "2016-09-03 delim.f90" Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0 Beta Build 20160517 Copyright (C) 1985-2016 Intel Corporation. All rights reserved. ifort: NOTE: The Beta evaluation period for this product ends on 7-oct-2016 UTC. Microsoft (R) Incremental Linker Version 14.00.24213.1 Copyright (C) Microsoft Corporation. All rights reserved. "-out:2016-09-03 delim.exe" -subsystem:console "2016-09-03 delim.obj"
(For "normal" data descriptors the constraint makes sense, because the specifier is meaningless, but in the context of UDDTIO it is a bit of a shame - I was operating under the misconception that I could use DELIM to vary the behaviour of a DT data descriptor without having to encode the equivalent specification in the bits that can follow the DT. Oh well.)
Thanks.
Escalated as DPD200414145.
For more complete information about compiler optimizations, see our Optimization Notice.