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

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).