public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
@ 2003-07-25 14:51 gbeauchesne at mandrakesoft dot com
  2003-07-25 14:54 ` [Bug target/11674] " pinskia at physics dot uc dot edu
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gbeauchesne at mandrakesoft dot com @ 2003-07-25 14:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [3.4/3.3-hammer regression] ICE in emit_move_insn, at
                    expr.c:3207
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gbeauchesne at mandrakesoft dot com
                CC: gcc-bugs at gcc dot gnu dot org,jh at suse dot cz
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

Hi, the following testcase (extracted from Mesa sources) fails to compile on
current 3.3-hammer and 3.4 (20030723) with "-O -march=pentium3 -mfpmath=sse".
This is a regression from plain 3.3-branch.

/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O -march=pentium3 -mfpmath=sse" } */

static void f ()
{
  unsigned ui[2];
  int i;
  i = (float)ui[0];
}

[gb@hp6 gcc]$ ./cc1 --version
GNU C version 3.4 20030723 (experimental) (i686-pc-linux-gnu)

[gb@hp6 gcc]$ ./cc1 -O -march=pentium3 -mfpmath=sse ~/vrac/i386-ssefp-3.c
 f
/home/gb/vrac/i386-ssefp-3.c: In function `f':
/home/gb/vrac/i386-ssefp-3.c:8: internal compiler error: in emit_move_insn, at
expr.c:3207
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/11674] [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
@ 2003-07-25 14:54 ` pinskia at physics dot uc dot edu
  2003-07-25 14:55 ` pinskia at physics dot uc dot edu
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-25 14:54 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-25 14:54:16
               date|                            |
            Version|3.3.1                       |3.4


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-25 14:54 -------
I can confirm this fails on the mainline (20030725).


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

* [Bug target/11674] [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
  2003-07-25 14:54 ` [Bug target/11674] " pinskia at physics dot uc dot edu
@ 2003-07-25 14:55 ` pinskia at physics dot uc dot edu
  2003-07-25 14:57 ` [Bug target/11674] [3.3/3.4 " bangerth at dealii dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-25 14:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Priority|P2                          |P1


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

* [Bug target/11674] [3.3/3.4 regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
  2003-07-25 14:54 ` [Bug target/11674] " pinskia at physics dot uc dot edu
  2003-07-25 14:55 ` pinskia at physics dot uc dot edu
@ 2003-07-25 14:57 ` bangerth at dealii dot org
  2003-07-25 15:04 ` [Bug target/11674] [3.4/3.3-hammer " pinskia at physics dot uc dot edu
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bangerth at dealii dot org @ 2003-07-25 14:57 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4/3.3-hammer regression] |[3.3/3.4 regression] ICE in
                   |ICE in emit_move_insn, at   |emit_move_insn, at
                   |expr.c:3207                 |expr.c:3207
   Target Milestone|3.4                         |3.3.1


------- Additional Comments From bangerth at dealii dot org  2003-07-25 14:57 -------
Indeed to be found on mainline, too. So change summary line and
target milestone.
W.


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

* [Bug target/11674] [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (2 preceding siblings ...)
  2003-07-25 14:57 ` [Bug target/11674] [3.3/3.4 " bangerth at dealii dot org
@ 2003-07-25 15:04 ` pinskia at physics dot uc dot edu
  2003-07-25 15:06 ` gbeauchesne at mandrakesoft dot com
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-25 15:04 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.3/3.4 regression] ICE in |[3.4/3.3-hammer regression]
                   |emit_move_insn, at          |ICE in emit_move_insn, at
                   |expr.c:3207                 |expr.c:3207
   Target Milestone|3.3.1                       |3.4


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-25 15:04 -------
It does not fail on 3.3.1 (20030707), this is not a 3.3 regression, it only fails on the mainline and 
the 3.3-hammer branch.
>From Phil's regression hunter: Search converges between 2003-02-05-trunk (#214) and 2003-
02-06-trunk (#215).


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

* [Bug target/11674] [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (3 preceding siblings ...)
  2003-07-25 15:04 ` [Bug target/11674] [3.4/3.3-hammer " pinskia at physics dot uc dot edu
@ 2003-07-25 15:06 ` gbeauchesne at mandrakesoft dot com
  2003-07-25 15:15 ` bangerth at dealii dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gbeauchesne at mandrakesoft dot com @ 2003-07-25 15:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gbeauchesne at mandrakesoft dot com  2003-07-25 15:06 -------
Subject: Re:  [3.3/3.4 regression] ICE in emit_move_insn,
 at expr.c:3207

> So change summary line and target milestone.

Are you sure? Though I can reproduce on 3.3-hammer branch, I can't 
reproduce that on 3.3-branch, nor 3.3-rhl-branch, at least as of:
GNU C version 3.3.1 20030721 (prerelease) (i686-pc-linux-gnu)


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

* [Bug target/11674] [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (4 preceding siblings ...)
  2003-07-25 15:06 ` gbeauchesne at mandrakesoft dot com
@ 2003-07-25 15:15 ` bangerth at dealii dot org
  2003-07-25 23:08 ` janis187 at us dot ibm dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: bangerth at dealii dot org @ 2003-07-25 15:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at dealii dot org  2003-07-25 15:15 -------
Sorry, guys, I was just misreading the intent of the [x.y/... regression] marker.
Thanks for cleaning up after me.
W.


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

* [Bug target/11674] [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (5 preceding siblings ...)
  2003-07-25 15:15 ` bangerth at dealii dot org
@ 2003-07-25 23:08 ` janis187 at us dot ibm dot com
  2003-09-17 15:25 ` rakdver at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: janis187 at us dot ibm dot com @ 2003-07-25 23:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From janis187 at us dot ibm dot com  2003-07-25 23:08 -------
The regression in PR 11674 was introduced or exposed by this patch:

--- gcc/gcc/ChangeLog ---

Wed Feb  5 23:12:57 CET 2003  Jan Hubicka  <jh@suse.cz>

        * i386-protos.h (x86_emit_floatuns):  Declare.
        * i386.c (x86_emit_floatuns): New global function.
        * i386.md (floatunssisf2, floatunsdisf2,
        floatunsdidf2):  New patterns.

The regression hunt took place on i686-pc-linux-gnu using the test
case from the PR compiled with "-O -march=pentium3 -mfpmath=sse".


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

* [Bug target/11674] [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (6 preceding siblings ...)
  2003-07-25 23:08 ` janis187 at us dot ibm dot com
@ 2003-09-17 15:25 ` rakdver at gcc dot gnu dot org
  2003-09-18 17:06 ` [Bug target/11674] [3.3-hammer " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2003-09-17 15:25 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From rakdver at gcc dot gnu dot org  2003-09-17 14:41 -------
A patch sent:

http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01096.html


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

* [Bug target/11674] [3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (7 preceding siblings ...)
  2003-09-17 15:25 ` rakdver at gcc dot gnu dot org
@ 2003-09-18 17:06 ` pinskia at gcc dot gnu dot org
  2003-10-26 23:03 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-18 17:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4/3.3-hammer regression] |[3.3-hammer regression] ICE
                   |ICE in emit_move_insn, at   |in emit_move_insn, at
                   |expr.c:3207                 |expr.c:3207


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-18 16:03 -------
FIxed on the mainline by:
 2003-09-18  Zdenek Dvorak
 
	PR target/11674
 	* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.


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

* [Bug target/11674] [3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (8 preceding siblings ...)
  2003-09-18 17:06 ` [Bug target/11674] [3.3-hammer " pinskia at gcc dot gnu dot org
@ 2003-10-26 23:03 ` pinskia at gcc dot gnu dot org
  2003-12-18 11:47 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-26 23:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hubicka at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
           Keywords|                            |patch


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-26 22:51 -------
Jan is this fixed on the hammer branch yet?


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

* [Bug target/11674] [3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (9 preceding siblings ...)
  2003-10-26 23:03 ` pinskia at gcc dot gnu dot org
@ 2003-12-18 11:47 ` pinskia at gcc dot gnu dot org
  2004-01-03 21:19 ` cvs-commit at gcc dot gnu dot org
  2004-01-03 21:20 ` hubicka at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-18 11:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-18 10:55 -------
Jan has this bug been fixed on the hammer branch yet?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.0                       |---


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


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

* [Bug target/11674] [3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (10 preceding siblings ...)
  2003-12-18 11:47 ` pinskia at gcc dot gnu dot org
@ 2004-01-03 21:19 ` cvs-commit at gcc dot gnu dot org
  2004-01-03 21:20 ` hubicka at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-03 21:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-01-03 21:19 -------
Subject: Bug 11674

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	hammer-3_3-branch
Changes by:	hubicka@gcc.gnu.org	2004-01-03 21:19:51

Modified files:
	gcc            : ChangeLog.hammer 
	gcc/config/i386: i386.c 

Log message:
	backport from mainline:
	2003-09-18  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
	
	PR target/11674
	* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.250&r2=1.1.2.251
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.490.2.62&r2=1.490.2.63



-- 


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


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

* [Bug target/11674] [3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207
  2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
                   ` (11 preceding siblings ...)
  2004-01-03 21:19 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-03 21:20 ` hubicka at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2004-01-03 21:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hubicka at gcc dot gnu dot org  2004-01-03 21:20 -------
fixed by Zdenek's patch

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


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


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

end of thread, other threads:[~2004-01-03 21:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25 14:51 [Bug target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207 gbeauchesne at mandrakesoft dot com
2003-07-25 14:54 ` [Bug target/11674] " pinskia at physics dot uc dot edu
2003-07-25 14:55 ` pinskia at physics dot uc dot edu
2003-07-25 14:57 ` [Bug target/11674] [3.3/3.4 " bangerth at dealii dot org
2003-07-25 15:04 ` [Bug target/11674] [3.4/3.3-hammer " pinskia at physics dot uc dot edu
2003-07-25 15:06 ` gbeauchesne at mandrakesoft dot com
2003-07-25 15:15 ` bangerth at dealii dot org
2003-07-25 23:08 ` janis187 at us dot ibm dot com
2003-09-17 15:25 ` rakdver at gcc dot gnu dot org
2003-09-18 17:06 ` [Bug target/11674] [3.3-hammer " pinskia at gcc dot gnu dot org
2003-10-26 23:03 ` pinskia at gcc dot gnu dot org
2003-12-18 11:47 ` pinskia at gcc dot gnu dot org
2004-01-03 21:19 ` cvs-commit at gcc dot gnu dot org
2004-01-03 21:20 ` hubicka 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).