public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/24055] New: ICE (-ffast-math) / could not split insn.
@ 2005-09-25 12:28 pluto at agmk dot net
  2005-09-25 12:29 ` [Bug other/24055] " pluto at agmk dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-09-25 12:28 UTC (permalink / raw)
  To: gcc-bugs

% gcc floor1.i -c -O2 -ffast-math -mno-ieee-fp -fsigned-char 
 
floor1.c: In function ‘fit_line’: 
floor1.c:522: error: could not split insn 
(insn:HI 137 229 139 (set (mem:SI (reg:SI 0 ax) [5 S4 A32]) 
        (unspec:SI [ 
                (reg:XF 8 st) 
            ] 66)) 462 {*fistsi2_1} (insn_list:REG_DEP_TRUE 135 (nil)) 
    (expr_list:REG_DEAD (reg:XF 8 st) 
        (nil))) 
floor1.c:522: internal compiler error: in final_scan_insn, at final.c:2462 
 
 
% gcc -v 
Reading specs from /usr/lib/gcc/i486-pld-linux/4.1.0/specs 
Target: i486-pld-linux 
Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man 
--enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-languages=c,c++,f95,objc,obj-c++,ada,java --enable-c99 
--enable-long-long --disable-multilib --enable-nls --disable-werror 
--with-gnu-as --with-gnu-ld --with-demangler-in-ld --with-system-zlib 
--with-slibdir=/lib --without-x --enable-cmath --enable-libgcj 
--enable-libgcj-multifile --enable-libgcj-database --enable-gtk-cairo 
i486-pld-linux 
Thread model: posix 
gcc version 4.1.0 20050922 (experimental)

-- 
           Summary: ICE (-ffast-math) / could not split insn.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i486-pld-linux
  GCC host triplet: i486-pld-linux
GCC target triplet: i486-pld-linux


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


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

* [Bug other/24055] ICE (-ffast-math) / could not split insn.
  2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
@ 2005-09-25 12:29 ` pluto at agmk dot net
  2005-09-25 14:23 ` [Bug target/24055] [4.1 regression] ICE in final_scan_insn, at final.c:2464 belyshev at depni dot sinp dot msu dot ru
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pluto at agmk dot net @ 2005-09-25 12:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-09-25 12:29 -------
Created an attachment (id=9804)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9804&action=view)
testcase


-- 


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


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

* [Bug target/24055] [4.1 regression] ICE in final_scan_insn, at final.c:2464
  2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
  2005-09-25 12:29 ` [Bug other/24055] " pluto at agmk dot net
@ 2005-09-25 14:23 ` belyshev at depni dot sinp dot msu dot ru
  2005-09-25 14:58 ` [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-09-25 14:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-09-25 14:23 -------
// reduced testcase, compile with "-O1 -funsafe-math-optimizations
-fno-trapping-math":

void foo (int *p, double x)
{
  *p = rint (x);
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
          Component|other                       |target
     Ever Confirmed|                            |1
  GCC build triplet|i486-pld-linux              |
   GCC host triplet|i486-pld-linux              |
 GCC target triplet|i486-pld-linux              |i?86-*-*
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-25 14:23:12
               date|                            |
            Summary|ICE (-ffast-math) / could   |[4.1 regression] ICE in
                   |not split insn.             |final_scan_insn, at
                   |                            |final.c:2464
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math
  2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
  2005-09-25 12:29 ` [Bug other/24055] " pluto at agmk dot net
  2005-09-25 14:23 ` [Bug target/24055] [4.1 regression] ICE in final_scan_insn, at final.c:2464 belyshev at depni dot sinp dot msu dot ru
@ 2005-09-25 14:58 ` pinskia at gcc dot gnu dot org
  2005-09-26  7:35 ` uros at kss-loka dot si
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-25 14:58 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
            Summary|[4.1 regression] ICE in     |[4.1 regression] "could not
                   |final_scan_insn, at         |split insn" with -O1 -ffast-
                   |final.c:2464                |math


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


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

* [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math
  2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2005-09-25 14:58 ` [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math pinskia at gcc dot gnu dot org
@ 2005-09-26  7:35 ` uros at kss-loka dot si
  2005-09-26 17:21 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: uros at kss-loka dot si @ 2005-09-26  7:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From uros at kss-loka dot si  2005-09-26 07:35 -------
Patch at http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01581.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |uros at kss-loka dot si
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |09/msg01581.html
             Status|NEW                         |ASSIGNED
           Keywords|                            |patch
   Last reconfirmed|2005-09-25 14:23:12         |2005-09-26 07:35:16
               date|                            |


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


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

* [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math
  2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2005-09-26  7:35 ` uros at kss-loka dot si
@ 2005-09-26 17:21 ` cvs-commit at gcc dot gnu dot org
  2005-09-26 17:26 ` cvs-commit at gcc dot gnu dot org
  2005-09-26 20:03 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-26 17:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-26 17:21 -------
Subject: Bug 24055

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ian@gcc.gnu.org	2005-09-26 17:21:02

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.md 

Log message:
	PR target/24055
	* config/i386/i386.md ("*fistdi2_1"): New pattern.
	("*fist<mode>2_1"): Use only HImode and SImode register operands.
	("fist<mode>2_with_temp"): Use only register operands.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10022&r2=2.10023
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&r1=1.655&r2=1.656



-- 


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


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

* [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math
  2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2005-09-26 17:21 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-26 17:26 ` cvs-commit at gcc dot gnu dot org
  2005-09-26 20:03 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-26 17:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-26 17:26 -------
Subject: Bug 24055

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ian@gcc.gnu.org	2005-09-26 17:25:49

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.target/i386: pr24055.c 

Log message:
	PR target/24055
	* gcc.target/i386/pr24055.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6102&r2=1.6103
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.target/i386/pr24055.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math
  2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2005-09-26 17:26 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-26 20:03 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-26 20:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-26 20:02 -------
Fixed.

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


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


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

end of thread, other threads:[~2005-09-26 20:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-25 12:28 [Bug other/24055] New: ICE (-ffast-math) / could not split insn pluto at agmk dot net
2005-09-25 12:29 ` [Bug other/24055] " pluto at agmk dot net
2005-09-25 14:23 ` [Bug target/24055] [4.1 regression] ICE in final_scan_insn, at final.c:2464 belyshev at depni dot sinp dot msu dot ru
2005-09-25 14:58 ` [Bug target/24055] [4.1 regression] "could not split insn" with -O1 -ffast-math pinskia at gcc dot gnu dot org
2005-09-26  7:35 ` uros at kss-loka dot si
2005-09-26 17:21 ` cvs-commit at gcc dot gnu dot org
2005-09-26 17:26 ` cvs-commit at gcc dot gnu dot org
2005-09-26 20:03 ` 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).