------- Comment #1 from inaoka dot kazuhiro at renesas dot com  2006-07-27 
01:48 -------
Created an attachment (id=11953)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11953&action=view)
test case

bc.s and bnc.s have the range (form -512 to 508) of PC-relative.

If all 2byte instruction have alignment code (pnop)of debug information,
we must use 254/508.
But it's rare case.

FAIL Sample>
m32r-linux-gnu-gcc -S -g -O2 -o line_test.s.ng line_test.c
/tmp/ccHkZoqt.s: Assembler messages:
/tmp/ccHkZoqt.s:22: Error: operand out of range (198 not between -128 and 127)

PASS Sample> without -g option
m32r-linux-gnu-gcc -S -O2 -o line_test.s line_test.c


-- 


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

Reply via email to