move2add change breaks arm bootstrap

Richard Earnshaw rearnsha@arm.com
Sat Jan 13 11:12:00 GMT 2001


[Yet another bug that has broken bootstrapping on the ARM.]

Alexandre,

It would appear that your recent patch to move2add_note_store is causing a 
miscompilation of init_ggc during stage2 of an ARM bootstrap.  It looks as 
though somehow it is failing to note that an increment is inside a loop.  
We thus have the sequence

	r4 := 0
Loop
	...
	r4 := r4 + 1
	cmp r4, 31
	b[leu] Loop
#loop exits when r4 == 32
	r4 := 32		<= this gets transformed to r4 := r4 + 31
	...


R.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ggc.i.bz2
Type: application/x-bzip2
Size: 25406 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010113/cd9c3048/attachment.bz2>


More information about the Gcc-bugs mailing list