* [Bug c/28508] Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
@ 2006-07-27 1:48 ` inaoka dot kazuhiro at renesas dot com
2006-07-27 1:52 ` inaoka dot kazuhiro at renesas dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: inaoka dot kazuhiro at renesas dot com @ 2006-07-27 1:48 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/28508] Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
2006-07-27 1:48 ` [Bug c/28508] " inaoka dot kazuhiro at renesas dot com
@ 2006-07-27 1:52 ` inaoka dot kazuhiro at renesas dot com
2006-07-27 10:20 ` [Bug target/28508] " nickc at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: inaoka dot kazuhiro at renesas dot com @ 2006-07-27 1:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from inaoka dot kazuhiro at renesas dot com 2006-07-27 01:52 -------
Created an attachment (id=11954)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11954&action=view)
workaround patch
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/28508] Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
2006-07-27 1:48 ` [Bug c/28508] " inaoka dot kazuhiro at renesas dot com
2006-07-27 1:52 ` inaoka dot kazuhiro at renesas dot com
@ 2006-07-27 10:20 ` nickc at redhat dot com
2006-07-27 12:22 ` [Bug target/28508] Assembler Error: operand out of range " nickc at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: nickc at redhat dot com @ 2006-07-27 10:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from nickc at redhat dot com 2006-07-27 10:20 -------
Kazu,
I will apply your proposed patch.
One day we must really spend the time to fixup gcc so that the backends know
about these debug labels and their effect on code placement.
Cheers
Nick
PS. For the record this PR started here:
http://gcc.gnu.org/ml/gcc-patches/2006-07/msg01050.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/28508] Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
` (2 preceding siblings ...)
2006-07-27 10:20 ` [Bug target/28508] " nickc at redhat dot com
@ 2006-07-27 12:22 ` nickc at gcc dot gnu dot org
2006-07-29 5:22 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: nickc at gcc dot gnu dot org @ 2006-07-27 12:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from nickc at gcc dot gnu dot org 2006-07-27 12:21 -------
Subject: Bug 28508
Author: nickc
Date: Thu Jul 27 12:21:39 2006
New Revision: 115773
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115773
Log:
PR gcc/28508
* config/m32r/m32r.md (branch_insn): Reduce pc range for short branch.
(rev_branch_insn): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/m32r/m32r.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/28508] Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
` (3 preceding siblings ...)
2006-07-27 12:22 ` [Bug target/28508] Assembler Error: operand out of range " nickc at gcc dot gnu dot org
@ 2006-07-29 5:22 ` pinskia at gcc dot gnu dot org
2006-08-03 7:59 ` inaoka dot kazuhiro at renesas dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-29 5:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-07-29 05:22 -------
So the assembler adds the nops. Hmm, is there a reason why GCC could add them
instead?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-07-29 05:22:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/28508] Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
` (4 preceding siblings ...)
2006-07-29 5:22 ` pinskia at gcc dot gnu dot org
@ 2006-08-03 7:59 ` inaoka dot kazuhiro at renesas dot com
2007-04-28 10:11 ` tbm at cyrius dot com
2008-01-23 14:21 ` debian-gcc at lists dot debian dot org
7 siblings, 0 replies; 9+ messages in thread
From: inaoka dot kazuhiro at renesas dot com @ 2006-08-03 7:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from inaoka dot kazuhiro at renesas dot com 2006-08-03 07:59 -------
(In reply to comment #4)
> Modified:
> trunk/gcc/ChangeLog
> trunk/gcc/config/m32r/m32r.md
Could you please apply the same path to 4.1 and 4.0 branch?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/28508] Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
` (5 preceding siblings ...)
2006-08-03 7:59 ` inaoka dot kazuhiro at renesas dot com
@ 2007-04-28 10:11 ` tbm at cyrius dot com
2008-01-23 14:21 ` debian-gcc at lists dot debian dot org
7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-04-28 10:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from tbm at cyrius dot com 2007-04-28 11:10 -------
(In reply to comment #6)
> (In reply to comment #4)
>
> > Modified:
> > trunk/gcc/ChangeLog
> > trunk/gcc/config/m32r/m32r.md
> Could you please apply the same path to 4.1 and 4.0 branch?
Nick, are you going to backport this patch?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/28508] Assembler Error: operand out of range (145 not between -128 and 127) form m32r-target
2006-07-27 1:39 [Bug c/28508] New: Assembler Error: operand out of ragne (145 not between -128 and 127) form m32r-target inaoka dot kazuhiro at renesas dot com
` (6 preceding siblings ...)
2007-04-28 10:11 ` tbm at cyrius dot com
@ 2008-01-23 14:21 ` debian-gcc at lists dot debian dot org
7 siblings, 0 replies; 9+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2008-01-23 14:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from debian-gcc at lists dot debian dot org 2008-01-23 13:34 -------
please mark it as closed, if it is not a candidate for a backport.
Matthias
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28508
^ permalink raw reply [flat|nested] 9+ messages in thread