I was just surprised by a bug in my code about which I did not get a warning:
character(LEN=4) :: name
name = "DAVID"
There is no compiler warning that "DAVID" gets truncated when stored in name.
Is there any compiler setting to force this warning? I could not see one.