         Edinburgh IMP77 Compiler - Version 8.4
    1 %recordformat Commfm(%integer i, j, k)
		.Ltext0:
				.globl	PASS2
		PASS2:
		.LFB189:
    2
    3 %externalroutine PASS2(%record(Commfm)%name Interface)
				pushl	%ebp
				movl	%esp, %ebp
				subl	$40, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	8(%ebp), %eax
				movl	%eax, -28(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -12(%ebp)
				xorl	%eax, %eax
				leal	8(%ebp), %eax
				movl	%eax, -16(%ebp)
    4
    5    ! If the procedure below is removed, the Interface_k = 23 statement translates OK!
    6
    7    %routine Initialise
    8    %end
    9
   10 !  This fails to translate - the field is not found. *BUT* ONLY IF icode2ast IS RUN WITHOUT "-d"!
   11
   12    Interface_k = 23;
				movl	-28(%ebp), %eax
				movl	$23, 8(%eax)
   13
   14 %end
				nop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L3
				call	__stack_chk_fail_local
		.L3:
				leave
				ret
		.LFE189:
				.section	.text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
				.globl	__x86.get_pc_thunk.ax
				.hidden	__x86.get_pc_thunk.ax
		__x86.get_pc_thunk.ax:
		.LFB191:
				movl	(%esp), %eax
				ret
		.LFE191:
		.Letext0:
?INITIALISE unused
   15
   16 %endoffile
    7 Statements compiled
