Gas regressions for cris-elf

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Thu Apr 6 04:01:00 GMT 2006


(My autotester has been off for a couple of days, or this would
have been noticed earlier.)

Could it be that your change of:

2006-04-04  Alan Modra  <amodra@bigpond.net.au>

	PR 997
	* frags.c (frag_offset_fixed_p): New function.
	* frags.h (frag_offset_fixed_p): Declare.
	* expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction.
	(resolve_expression): Likewise.

is responsible for:

...
Running /h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/cris.exp ...
FAIL: gas/cris/rd-dw2-2
FAIL: False broken words
...

(The broken-dot-word handling shouldn't be a victim: the key is
the word "False"; there are no ".word a-b" expressions there.)

In gas.log (same source, same messages for both failures; the
difference is whether or not using --gdwarf2):

/h/hp/binutils/cvs_latest/src/gas/testsuite/lib/run ../as-new  --em=criself --gdwarf2 -o dump.o /h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s: Assembler messages:
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:37: Error: Immediate value not in 8 bit range: -327683
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:37: Error: Immediate value not in 16 bit range: -327683
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:39: Error: Immediate value not in 8 bit range: -327683
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:39: Error: Immediate value not in 16 bit range: -327683
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:42: Error: Immediate value not in 16 bit range: -327683
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:44: Error: Immediate value not in 16 bit range: -327683
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:47: Error: Immediate value not in 16 bit range: -262233
/h/hp/binutils/cvs_latest/src/gas/testsuite/gas/cris/binop-segref.s:49: Error: Immediate value not in 16 bit range: -262233

Nothing really strange about that code IMHO; it's just
exercising frags a bit, which at one time conspired with some
broken-dot-word flaw.

brgds, H-P



More information about the Binutils mailing list