public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2
@ 2004-05-19 20:22 sugioka at itonet dot co dot jp
  2004-06-01 23:22 ` [Bug target/15535] [3.3/3.4 " dhazeghi at yahoo dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: sugioka at itonet dot co dot jp @ 2004-05-19 20:22 UTC (permalink / raw)
  To: gcc-bugs

Attached code does not compile with '-m4 -O2' for sh-linux target.
It is correctry compiled with gcc-3.2.3.

$ sh-linux-gcc -m4 -O2 -c bar.c
bar.c: In function `bar':
bar.c:11: error: insn does not satisfy its constraints:
(insn:HI 26 13 14 1 (set (reg/v:SI 70 fr6 [orig:162 y ] [162])
        (reg:SI 147 t)) 123 {movsi_ie} (nil)
    (nil))
bar.c:11: internal compiler error: in reload_cse_simplify_operands, at 
postreload.c:378

double bar (int x, int z1, double z2)
{
	int y;

	if (z1 > z2)
		y = z1 + z2;
	else
		y = 0;

	return ((double) x + y);
}

-- 
           Summary: [3.4 regression][sh-linux] ICE with -m4 -O2
           Product: gcc
           Version: 3.4.1
            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=15535


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
@ 2004-06-01 23:22 ` dhazeghi at yahoo dot com
  2004-06-12 22:09 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-06-01 23:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-06-01 23:22 -------
Confirmed. Compiles fine on mainline though.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.3.4 3.4.1
      Known to work|                            |3.2.3 3.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-01 23:22:27
               date|                            |
            Summary|[3.4 regression][sh-linux]  |[3.3/3.4 regression][sh-
                   |ICE with -m4 -O2            |linux] ICE with -m4 -O2
   Target Milestone|---                         |3.4.1


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


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
  2004-06-01 23:22 ` [Bug target/15535] [3.3/3.4 " dhazeghi at yahoo dot com
@ 2004-06-12 22:09 ` mmitchel at gcc dot gnu dot org
  2004-08-23 20:58 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-06-12 22:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-06-12 22:09 -------
SH is not a primary target; postponing until GCC 3.4.2.

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


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


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
  2004-06-01 23:22 ` [Bug target/15535] [3.3/3.4 " dhazeghi at yahoo dot com
  2004-06-12 22:09 ` mmitchel at gcc dot gnu dot org
@ 2004-08-23 20:58 ` mmitchel at gcc dot gnu dot org
  2004-08-24 11:15 ` anilp1 at kpitcummins dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-23 20:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-23 20:58 -------
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=15535


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
                   ` (2 preceding siblings ...)
  2004-08-23 20:58 ` mmitchel at gcc dot gnu dot org
@ 2004-08-24 11:15 ` anilp1 at kpitcummins dot com
  2004-11-01  0:47 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: anilp1 at kpitcummins dot com @ 2004-08-24 11:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From anilp1 at kpitcummins dot com  2004-08-24 11:15 -------
Hi,

Workaround : 
Use option -fno-cse-follow-jumps along with -O2 to get rid of ICE.
Tested on GCC 3.4.2 snapshot dated 13 Aug 2004.

Regards,
Anil Paranjpe
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 


-- 


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


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
                   ` (3 preceding siblings ...)
  2004-08-24 11:15 ` anilp1 at kpitcummins dot com
@ 2004-11-01  0:47 ` mmitchel at gcc dot gnu dot org
  2004-12-05  9:40 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-01  0:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-11-01 00:46 -------
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=15535


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
                   ` (4 preceding siblings ...)
  2004-11-01  0:47 ` mmitchel at gcc dot gnu dot org
@ 2004-12-05  9:40 ` ebotcazou at gcc dot gnu dot org
  2004-12-05 12:20 ` giovannibajo at libero dot it
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-12-05  9:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-12-05 09:40 -------
I fail to see why an ICE on a non-primary target is critical.  Plus there is a
workaround too.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
                   ` (5 preceding siblings ...)
  2004-12-05  9:40 ` ebotcazou at gcc dot gnu dot org
@ 2004-12-05 12:20 ` giovannibajo at libero dot it
  2004-12-05 12:35 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: giovannibajo at libero dot it @ 2004-12-05 12:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-12-05 12:19 -------
(In reply to comment #6)
> I fail to see why an ICE on a non-primary target is critical.

Because our policies say so. Look into http://gcc.gnu.org/managament.html. To 
tell the truth, the fact that it's a secondary platform should lower its 
priority, not its severity.

-- 


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


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
                   ` (6 preceding siblings ...)
  2004-12-05 12:20 ` giovannibajo at libero dot it
@ 2004-12-05 12:35 ` ebotcazou at gcc dot gnu dot org
  2004-12-05 15:32 ` pinskia at gcc dot gnu dot org
  2005-04-29 18:49 ` mmitchel at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-12-05 12:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-12-05 12:35 -------
> > I fail to see why an ICE on a non-primary target is critical.
> 
> Because our policies say so. Look into http://gcc.gnu.org/managament.html. To 
> tell the truth, the fact that it's a secondary platform should lower its 
> priority, not its severity.

This bug doesn't pass the "to affect a significant fraction of users" test.


-- 


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


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
                   ` (7 preceding siblings ...)
  2004-12-05 12:35 ` ebotcazou at gcc dot gnu dot org
@ 2004-12-05 15:32 ` pinskia at gcc dot gnu dot org
  2005-04-29 18:49 ` mmitchel at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-05 15:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3


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


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

* [Bug target/15535] [3.3/3.4 regression][sh-linux] ICE with -m4 -O2
  2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
                   ` (8 preceding siblings ...)
  2004-12-05 15:32 ` pinskia at gcc dot gnu dot org
@ 2005-04-29 18:49 ` mmitchel at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-04-29 18:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-04-29 18:48 -------
Removing 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=15535


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

end of thread, other threads:[~2005-04-29 18:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19 20:22 [Bug target/15535] New: [3.4 regression][sh-linux] ICE with -m4 -O2 sugioka at itonet dot co dot jp
2004-06-01 23:22 ` [Bug target/15535] [3.3/3.4 " dhazeghi at yahoo dot com
2004-06-12 22:09 ` mmitchel at gcc dot gnu dot org
2004-08-23 20:58 ` mmitchel at gcc dot gnu dot org
2004-08-24 11:15 ` anilp1 at kpitcummins dot com
2004-11-01  0:47 ` mmitchel at gcc dot gnu dot org
2004-12-05  9:40 ` ebotcazou at gcc dot gnu dot org
2004-12-05 12:20 ` giovannibajo at libero dot it
2004-12-05 12:35 ` ebotcazou at gcc dot gnu dot org
2004-12-05 15:32 ` pinskia at gcc dot gnu dot org
2005-04-29 18:49 ` mmitchel 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).