[Bug target/8916] [mcore-elf] unsigned char assign gets hosed.

kazu at cs dot umass dot edu gcc-bugzilla@gcc.gnu.org
Fri Jan 2 19:10:00 GMT 2004


------- Additional Comments From kazu at cs dot umass dot edu  2004-01-02 19:10 -------
With current mainline, different code is generated.  Most notably,
bmaski does not appear any more.  Could you check if the following is
correct?  The following patch fixed many regressions, so this problem
may have been fixed at that time.

http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00044.html

test:
	subi	sp,16
	stw	r15,(sp,8)
	movi	r7,89
	not	r7	// -90 0xffffffa6
	st.b	r7,(sp)
	mov	r2,sp
	jbsr	ExtFunc
	ldw	r15,(sp,8)
	addi	sp,16
	jmp	r15


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8916



More information about the Gcc-bugs mailing list