public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/36064]  New: could not split insn with -O1 -march=nocona -m32
@ 2008-04-27 18:55 drab at kepler dot fjfi dot cvut dot cz
  2008-04-27 18:56 ` [Bug rtl-optimization/36064] " drab at kepler dot fjfi dot cvut dot cz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: drab at kepler dot fjfi dot cvut dot cz @ 2008-04-27 18:55 UTC (permalink / raw)
  To: gcc-bugs

When the attached example is compiled by the
   gcc version 4.4.0 20080426 (experimental) (GCC)
using
------------
   gcc -O1 -march=nocona -m32 -c vorbisfile.c.c -o vorbisfile.o
------------
it produces the following error:

----------------
vorbisfile.c: In function 'ov_time_seek_page':
vorbisfile.c:1622: error: could not split insn
(insn 108 66 156 vorbisfile.c:1620 (parallel [
            (set (reg:DF 8 st)
                (float:DF (mem/c:DI (plus:SI (reg/f:SI 6 bp)
                            (const_int -40 [0xffffffffffffffd8])) [0
pcm_total+0 S8 A8])))
            (clobber (scratch:V4SI))
            (clobber (scratch:V4SI))
            (clobber (mem/c:DI (plus:SI (reg/f:SI 6 bp)
                        (const_int -24 [0xffffffffffffffe8])) [0 S8 A8]))
        ]) 235 {floatdidf2_i387_with_xmm} (nil))
vorbisfile.c:1622: internal compiler error: in final_scan_insn, at final.c:2597
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
----------------

The same error is produced with -march=core2, -march=prescott or
-march=pentium4. This error is not present when -m64 is used instead of -m32,
or when any of the AMD architectures are used, like -march=athlon64 and so on.


-- 
           Summary: could not split insn with -O1 -march=nocona -m32
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drab at kepler dot fjfi dot cvut dot cz
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug rtl-optimization/36064] could not split insn with -O1 -march=nocona -m32
  2008-04-27 18:55 [Bug rtl-optimization/36064] New: could not split insn with -O1 -march=nocona -m32 drab at kepler dot fjfi dot cvut dot cz
@ 2008-04-27 18:56 ` drab at kepler dot fjfi dot cvut dot cz
  2008-04-28  5:35 ` [Bug target/36064] " ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: drab at kepler dot fjfi dot cvut dot cz @ 2008-04-27 18:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from drab at kepler dot fjfi dot cvut dot cz  2008-04-27 18:55 -------
Created an attachment (id=15536)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15536&action=view)
Example that triggers the bug.


-- 


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


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

* [Bug target/36064] could not split insn with -O1 -march=nocona -m32
  2008-04-27 18:55 [Bug rtl-optimization/36064] New: could not split insn with -O1 -march=nocona -m32 drab at kepler dot fjfi dot cvut dot cz
  2008-04-27 18:56 ` [Bug rtl-optimization/36064] " drab at kepler dot fjfi dot cvut dot cz
@ 2008-04-28  5:35 ` ubizjak at gmail dot com
  2008-04-28  7:53 ` uros at gcc dot gnu dot org
  2008-04-28  8:02 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2008-04-28  5:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ubizjak at gmail dot com  2008-04-28 05:34 -------
Mine.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-04-28 05:34:45
               date|                            |


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


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

* [Bug target/36064] could not split insn with -O1 -march=nocona -m32
  2008-04-27 18:55 [Bug rtl-optimization/36064] New: could not split insn with -O1 -march=nocona -m32 drab at kepler dot fjfi dot cvut dot cz
  2008-04-27 18:56 ` [Bug rtl-optimization/36064] " drab at kepler dot fjfi dot cvut dot cz
  2008-04-28  5:35 ` [Bug target/36064] " ubizjak at gmail dot com
@ 2008-04-28  7:53 ` uros at gcc dot gnu dot org
  2008-04-28  8:02 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: uros at gcc dot gnu dot org @ 2008-04-28  7:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from uros at gcc dot gnu dot org  2008-04-28 07:52 -------
Subject: Bug 36064

Author: uros
Date: Mon Apr 28 07:52:01 2008
New Revision: 134744

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134744
Log:
        PR target/36064
        * config/i386/i386.md (floatdi<X87MODEF:mode>2_i387_with_xmm
splitters):
        Use match_scratch instead of match_operand for operands 3 and 4.

testsuite/ChangeLog:

        PR target/36064
        * gcc.target/i386/pr36064.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr36064.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/36064] could not split insn with -O1 -march=nocona -m32
  2008-04-27 18:55 [Bug rtl-optimization/36064] New: could not split insn with -O1 -march=nocona -m32 drab at kepler dot fjfi dot cvut dot cz
                   ` (2 preceding siblings ...)
  2008-04-28  7:53 ` uros at gcc dot gnu dot org
@ 2008-04-28  8:02 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2008-04-28  8:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ubizjak at gmail dot com  2008-04-28 08:01 -------
Fixed.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2008-
                   |                            |04/msg02013.html
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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

end of thread, other threads:[~2008-04-28  8:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-27 18:55 [Bug rtl-optimization/36064] New: could not split insn with -O1 -march=nocona -m32 drab at kepler dot fjfi dot cvut dot cz
2008-04-27 18:56 ` [Bug rtl-optimization/36064] " drab at kepler dot fjfi dot cvut dot cz
2008-04-28  5:35 ` [Bug target/36064] " ubizjak at gmail dot com
2008-04-28  7:53 ` uros at gcc dot gnu dot org
2008-04-28  8:02 ` ubizjak at gmail dot com

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