public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field
@ 2004-04-26 22:12 sugioka at itonet dot co dot jp
  2004-04-26 22:20 ` [Bug target/15155] " sugioka at itonet dot co dot jp
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: sugioka at itonet dot co dot jp @ 2004-04-26 22:12 UTC (permalink / raw)
  To: gcc-bugs

gcc-3.4.0 for sh-linux target does not correctly compile binutils-2.15.90.0.3
with -O2 -fPIC options.

It fails as follows.
$ sh-linux-gcc -O2 -fPIC -c elf32-sh.i
/tmp/cch6VQkB.s: Assembler messages:
/tmp/cch6VQkB.s:14513: Error: displacement to defined symbol .L2078 overflows 
12-bit field
/tmp/cch6VQkB.s:14536: Error: displacement to defined symbol .L2017 overflows 
12-bit field
/tmp/cch6VQkB.s:16807: Error: displacement to defined symbol .L2018 overflows 
12-bit field

Adding -fno-reorder-blocks fixes this.
It correctly compiles with gcc-3.2.3, so this is a regression.

-- 
           Summary: [3.4 regression][sh-linux] displacement overflows 12-bit
                    field
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sugioka at itonet dot co dot jp
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
  2004-04-26 22:12 [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field sugioka at itonet dot co dot jp
@ 2004-04-26 22:20 ` sugioka at itonet dot co dot jp
  2004-07-26  4:05 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: sugioka at itonet dot co dot jp @ 2004-04-26 22:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sugioka at itonet dot co dot jp  2004-04-26 20:42 -------
Created an attachment (id=6165)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6165&action=view)
failed program


-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
  2004-04-26 22:12 [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field sugioka at itonet dot co dot jp
  2004-04-26 22:20 ` [Bug target/15155] " sugioka at itonet dot co dot jp
@ 2004-07-26  4:05 ` pinskia at gcc dot gnu dot org
  2004-08-23 20:57 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-26  4:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-26 04:05 -------
Hmm, 4K worth of code between the branch instruction and the target.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Target Milestone|---                         |3.4.2


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
  2004-04-26 22:12 [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field sugioka at itonet dot co dot jp
  2004-04-26 22:20 ` [Bug target/15155] " sugioka at itonet dot co dot jp
  2004-07-26  4:05 ` pinskia at gcc dot gnu dot org
@ 2004-08-23 20:57 ` mmitchel at gcc dot gnu dot org
  2004-10-31  2:06 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-23 20:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-23 20:57 -------
Postponed until GCC 3.4.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.2                       |3.4.3


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
  2004-04-26 22:12 [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field sugioka at itonet dot co dot jp
                   ` (2 preceding siblings ...)
  2004-08-23 20:57 ` mmitchel at gcc dot gnu dot org
@ 2004-10-31  2:06 ` mmitchel at gcc dot gnu dot org
  2004-10-31  2:08 ` mmitchel at gcc dot gnu dot org
  2005-04-29 18:35 ` mmitchel at gcc dot gnu dot org
  5 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-10-31  2:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-10-31 02:05 -------
Postponed until GCC 3.4.4.

-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
  2004-04-26 22:12 [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field sugioka at itonet dot co dot jp
                   ` (3 preceding siblings ...)
  2004-10-31  2:06 ` mmitchel at gcc dot gnu dot org
@ 2004-10-31  2:08 ` mmitchel at gcc dot gnu dot org
  2005-04-29 18:35 ` mmitchel at gcc dot gnu dot org
  5 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-10-31  2:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-10-31 02:08 -------
Postponed until GCC 3.4.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.3                       |3.4.4


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
  2004-04-26 22:12 [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field sugioka at itonet dot co dot jp
                   ` (4 preceding siblings ...)
  2004-10-31  2:08 ` mmitchel at gcc dot gnu dot org
@ 2005-04-29 18:35 ` mmitchel at gcc dot gnu dot org
  5 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-29 18:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-29 18:35 -------
Removed target milestone; SH is not a primary or secondary target.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.4                       |---


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
       [not found] <bug-15155-8402@http.gcc.gnu.org/bugzilla/>
  2006-03-06  2:17 ` pinskia at gcc dot gnu dot org
@ 2006-03-08 23:37 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 23:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-03-08 23:37 -------
Fixed in 4.0.0.  3.4.6 has been tagged already and has been released (no
announcement has been made but it is up on the ftp server already).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.4.6                       |4.0.0


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug target/15155] [3.4 regression][sh-linux] displacement overflows 12-bit field
       [not found] <bug-15155-8402@http.gcc.gnu.org/bugzilla/>
@ 2006-03-06  2:17 ` pinskia at gcc dot gnu dot org
  2006-03-08 23:37 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-06  2:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4.6


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-03-08 23:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-26 22:12 [Bug target/15155] New: [3.4 regression][sh-linux] displacement overflows 12-bit field sugioka at itonet dot co dot jp
2004-04-26 22:20 ` [Bug target/15155] " sugioka at itonet dot co dot jp
2004-07-26  4:05 ` pinskia at gcc dot gnu dot org
2004-08-23 20:57 ` mmitchel at gcc dot gnu dot org
2004-10-31  2:06 ` mmitchel at gcc dot gnu dot org
2004-10-31  2:08 ` mmitchel at gcc dot gnu dot org
2005-04-29 18:35 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-15155-8402@http.gcc.gnu.org/bugzilla/>
2006-03-06  2:17 ` pinskia at gcc dot gnu dot org
2006-03-08 23:37 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).