public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC
@ 2004-05-13  2:12 sugioka at itonet dot co dot jp
  2004-05-13  2:45 ` [Bug target/15396] " sugioka at itonet dot co dot jp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: sugioka at itonet dot co dot jp @ 2004-05-13  2:12 UTC (permalink / raw)
  To: gcc-bugs

The attached code ICE's with '-m4 -O2 -fPIC'.

$ sh-linux-gcc -O2 -fPIC -m4 -c XExtInt.i
XExtInt.c: In function `XInputWireToEvent':
XExtInt.c:663: error: unrecognizable insn:
(insn 2736 2735 2737 (unspec_volatile [
            (label_ref 775)
            (const_int 0 [0x0])
        ] 4) -1 (nil)
    (nil))
XExtInt.c:663: internal compiler error: in insn_default_length, at insn-
attrtab.c:709

It correctly compiles with '-m4 -O -fPIC'.

-- 
           Summary: [3.4][sh-linux] ICE with -O2 -fPIC
           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=15396


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

* [Bug target/15396] [3.4][sh-linux] ICE with -O2 -fPIC
  2004-05-13  2:12 [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC sugioka at itonet dot co dot jp
@ 2004-05-13  2:45 ` sugioka at itonet dot co dot jp
  2004-06-08  0:32 ` kkojima at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sugioka at itonet dot co dot jp @ 2004-05-13  2:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sugioka at itonet dot co dot jp  2004-05-12 14:32 -------
Created an attachment (id=6265)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6265&action=view)
testcase


-- 


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


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

* [Bug target/15396] [3.4][sh-linux] ICE with -O2 -fPIC
  2004-05-13  2:12 [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC sugioka at itonet dot co dot jp
  2004-05-13  2:45 ` [Bug target/15396] " sugioka at itonet dot co dot jp
@ 2004-06-08  0:32 ` kkojima at gcc dot gnu dot org
  2004-06-11  1:19 ` [Bug target/15396] [3.4 only][sh-linux] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-06-08  0:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kkojima at gcc dot gnu dot org  2004-06-08 00:32 -------
I've proposed a patch for this to gcc-patches:
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00389.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |kkojima at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug target/15396] [3.4 only][sh-linux] ICE with -O2 -fPIC
  2004-05-13  2:12 [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC sugioka at itonet dot co dot jp
  2004-05-13  2:45 ` [Bug target/15396] " sugioka at itonet dot co dot jp
  2004-06-08  0:32 ` kkojima at gcc dot gnu dot org
@ 2004-06-11  1:19 ` pinskia at gcc dot gnu dot org
  2004-06-11 22:03 ` kkojima at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11  1:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.4.0
      Known to work|                            |3.5.0
            Summary|[3.4][sh-linux] ICE with -O2|[3.4 only][sh-linux] ICE
                   |-fPIC                       |with -O2 -fPIC
   Target Milestone|---                         |3.4.2


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


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

* [Bug target/15396] [3.4 only][sh-linux] ICE with -O2 -fPIC
  2004-05-13  2:12 [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC sugioka at itonet dot co dot jp
                   ` (2 preceding siblings ...)
  2004-06-11  1:19 ` [Bug target/15396] [3.4 only][sh-linux] " pinskia at gcc dot gnu dot org
@ 2004-06-11 22:03 ` kkojima at gcc dot gnu dot org
  2004-06-11 22:06 ` pinskia at gcc dot gnu dot org
  2004-06-11 22:08 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-06-11 22:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kkojima at gcc dot gnu dot org  2004-06-11 22:03 -------
Joern has applied a patch which solves this issue to 3.4-branch
with Mark's approval:
  http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00747.html


-- 


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


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

* [Bug target/15396] [3.4 only][sh-linux] ICE with -O2 -fPIC
  2004-05-13  2:12 [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC sugioka at itonet dot co dot jp
                   ` (3 preceding siblings ...)
  2004-06-11 22:03 ` kkojima at gcc dot gnu dot org
@ 2004-06-11 22:06 ` pinskia at gcc dot gnu dot org
  2004-06-11 22:08 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11 22:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-11 22:06 -------
Fixed for 3.4.1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/15396] [3.4 only][sh-linux] ICE with -O2 -fPIC
  2004-05-13  2:12 [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC sugioka at itonet dot co dot jp
                   ` (4 preceding siblings ...)
  2004-06-11 22:06 ` pinskia at gcc dot gnu dot org
@ 2004-06-11 22:08 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11 22:08 UTC (permalink / raw)
  To: gcc-bugs



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


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


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

end of thread, other threads:[~2004-06-11 22:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13  2:12 [Bug target/15396] New: [3.4][sh-linux] ICE with -O2 -fPIC sugioka at itonet dot co dot jp
2004-05-13  2:45 ` [Bug target/15396] " sugioka at itonet dot co dot jp
2004-06-08  0:32 ` kkojima at gcc dot gnu dot org
2004-06-11  1:19 ` [Bug target/15396] [3.4 only][sh-linux] " pinskia at gcc dot gnu dot org
2004-06-11 22:03 ` kkojima at gcc dot gnu dot org
2004-06-11 22:06 ` pinskia at gcc dot gnu dot org
2004-06-11 22:08 ` 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).