This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

move2add change breaks arm bootstrap


[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.

ggc.i.bz2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]