9front - general discussion about 9front
 help / color / mirror / Atom feed
* compiler bug (struct assignment to itself)
@ 2018-04-29 14:54 Julius Schmidt
  0 siblings, 0 replies; only message in thread
From: Julius Schmidt @ 2018-04-29 14:54 UTC (permalink / raw)
  To: 9front

p = (Point){p.y, p.x};

With 8c this compiles to something like

 	MOVL	p+-40(SP),AX
 	MOVL	AX,p+-44(SP)
 	MOVL	p+-44(SP),AX
 	MOVL	AX,p+-40(SP)

which isn't correct.

aiju



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-29 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-29 14:54 compiler bug (struct assignment to itself) Julius Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).