File:  [CSRG BSD Unix] / 43BSDReno / libexec / pcc / c2.tahoe / NOTES.2
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

This bug bears some striking similarities to the previous one...

Sample code:

	std	r0		# these three instructions get deleted
	movl	4(r12),r2	# here too, but shouldn't
	ldd	r0		# here too
	test
	jump
	use of r2
label:
	instruction that kills r0

If the movl is reordered above the std, it won't be deleted; if
reordered below the ldd, it's still zapped.  If the test is 'tstl
r12', it can get deleted too...  It doesn't seem to matter very
much what the jump or use of r2 are, provided the jump is a relational
one, of course.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.