Compile the attached code with ifort 184.108.40.206. The compiler crashes no matter which definition of x is used.
I will escalate the problem to compiler engineering; thanks very much for the small test case !
I filed the issue as case DPD200241543; I will let you know here, when a fix will be available
This is fixed now in the 15.0 compiler