public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/32389]  New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse
@ 2007-06-18  5:31 vapier at gentoo dot org
  2007-06-18  5:37 ` [Bug target/32389] " vapier at gentoo dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2007-06-18  5:31 UTC (permalink / raw)
  To: gcc-bugs

this was noticed while compiling the CAPS audio plugins

gcc-3.4.6 and gcc-4.0.4 work, but gcc-4.1.0 and newer releases fail ... also
tested with current snaps (4.1-20070611, 4.2-20070613, 4.3-20070615)

$ gcc -c -msse test.i -m32
test.i: In function 'f2':
test.i:5: error: insn does not satisfy its constraints:
(insn 35 33 36 (set (reg:SI 1 dx)
        (reg/f:SI 54 virtual-stack-vars)) 40 {*movsi_1} (nil)
    (expr_list:REG_DEAD (reg/f:SI 54 virtual-stack-vars)
        (nil)))
test.i:5: internal compiler error: in extract_constrain_insn_cached, at
recog.c:1994
Please submit a full bug report,
with preprocessed source if appropriate.

verified on Gentoo and Debian


-- 
           Summary: [4.1/4.2/4.3 Regression] ICE in
                    extract_constrain_insn_cached when using -msse
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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


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

* [Bug target/32389] [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
@ 2007-06-18  5:37 ` vapier at gentoo dot org
  2007-06-18  5:45 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2007-06-18  5:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from vapier at gentoo dot org  2007-06-18 05:36 -------
posting attachments seems to cause Bugzilla internal errors at the moment ...

$ cat test.i
double f1();
int f2() {
  __builtin_ia32_stmxcsr();
  return f1();
}


-- 


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


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

* [Bug target/32389] [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
  2007-06-18  5:37 ` [Bug target/32389] " vapier at gentoo dot org
@ 2007-06-18  5:45 ` pinskia at gcc dot gnu dot org
  2007-06-18 22:33 ` uros at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-18  5:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.1.3


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


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

* [Bug target/32389] [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
  2007-06-18  5:37 ` [Bug target/32389] " vapier at gentoo dot org
  2007-06-18  5:45 ` pinskia at gcc dot gnu dot org
@ 2007-06-18 22:33 ` uros at gcc dot gnu dot org
  2007-06-18 22:35 ` [Bug target/32389] [4.1/4.2 " ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-06-18 22:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from uros at gcc dot gnu dot org  2007-06-18 22:33 -------
Subject: Bug 32389

Author: uros
Date: Mon Jun 18 22:32:56 2007
New Revision: 125830

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125830
Log:
        PR target/32389
        * config/i386/i386.h (enum ix86_stack_slot): Add SLOT_VIRTUAL.
        * config/i386/i386.c (assign_386_stack_local): Assert that
        SLOT_VIRTUAL is valid only before virtual regs are instantiated.
        (ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR, IX86_BUILTIN_STMXCSR]:
        Use SLOT_VIRTUAL stack slot instead of SLOT_TEMP.
        * config/i386/i386.md (truncdfsf2, truncxf<mode>2): Ditto.

testsuite/ChangeLog:

        PR target/32389
        * gcc.target/i386/pr32389.c New test.


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


-- 


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


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

* [Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2007-06-18 22:33 ` uros at gcc dot gnu dot org
@ 2007-06-18 22:35 ` ubizjak at gmail dot com
  2007-06-21  7:06 ` uros at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-18 22:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2007-06-18 22:35 -------
Fixed in mainline.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2007-
                   |                            |06/msg01281.html
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
           Keywords|                            |patch
      Known to fail|4.1.2 4.2.0 4.3.0           |4.1.2 4.2.0
      Known to work|3.4.6 4.0.4                 |3.4.6 4.0.4 4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2007-06-18 22:35:45
               date|                            |
            Summary|[4.1/4.2/4.3 Regression] ICE|[4.1/4.2 Regression] ICE in
                   |in                          |extract_constrain_insn_cache
                   |extract_constrain_insn_cache|d when using -msse
                   |d when using -msse          |


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


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

* [Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
                   ` (3 preceding siblings ...)
  2007-06-18 22:35 ` [Bug target/32389] [4.1/4.2 " ubizjak at gmail dot com
@ 2007-06-21  7:06 ` uros at gcc dot gnu dot org
  2007-06-21  7:13 ` uros at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-06-21  7:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from uros at gcc dot gnu dot org  2007-06-21 07:06 -------
Subject: Bug 32389

Author: uros
Date: Thu Jun 21 07:06:29 2007
New Revision: 125911

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125911
Log:
        PR target/32389
        * config/i386/i386.h (enum ix86_stack_slot): Add SLOT_VIRTUAL.
        * config/i386/i386.c (assign_386_stack_local): Assert that
        SLOT_VIRTUAL is valid only before virtual regs are instantiated.
        (ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR, IX86_BUILTIN_STMXCSR]:
        Use SLOT_VIRTUAL stack slot instead of SLOT_TEMP.
        * config/i386/i386.md (truncdfsf2, truncxfsf2, truncxfdf2): Ditto.

testsuite/ChangeLog:

        PR target/32389
        * gcc.target/i386/pr32389.c New test.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.target/i386/pr32389.c
      - copied unchanged from r125830,
trunk/gcc/testsuite/gcc.target/i386/pr32389.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/config/i386/i386.c
    branches/gcc-4_2-branch/gcc/config/i386/i386.h
    branches/gcc-4_2-branch/gcc/config/i386/i386.md
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
                   ` (4 preceding siblings ...)
  2007-06-21  7:06 ` uros at gcc dot gnu dot org
@ 2007-06-21  7:13 ` uros at gcc dot gnu dot org
  2007-06-21  7:14 ` ubizjak at gmail dot com
  2007-06-22 18:17 ` vapier at gentoo dot org
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-06-21  7:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from uros at gcc dot gnu dot org  2007-06-21 07:13 -------
Subject: Bug 32389

Author: uros
Date: Thu Jun 21 07:13:16 2007
New Revision: 125912

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125912
Log:
        PR target/32389
        * config/i386/i386.h (enum ix86_stack_slot): Add SLOT_VIRTUAL.
        * config/i386/i386.c (assign_386_stack_local): Assert that
        SLOT_VIRTUAL is valid only before virtual regs are instantiated.
        (ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR, IX86_BUILTIN_STMXCSR]:
        Use SLOT_VIRTUAL stack slot instead of SLOT_TEMP.
        * config/i386/i386.md (truncdfsf2, truncxfsf2, truncxfdf2): Ditto.

testsuite/ChangeLog:

        PR target/32389
        * gcc.target/i386/pr32389.c New test.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.target/i386/pr32389.c
      - copied unchanged from r125830,
trunk/gcc/testsuite/gcc.target/i386/pr32389.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/i386/i386.c
    branches/gcc-4_1-branch/gcc/config/i386/i386.h
    branches/gcc-4_1-branch/gcc/config/i386/i386.md
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
                   ` (5 preceding siblings ...)
  2007-06-21  7:13 ` uros at gcc dot gnu dot org
@ 2007-06-21  7:14 ` ubizjak at gmail dot com
  2007-06-22 18:17 ` vapier at gentoo dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-21  7:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ubizjak at gmail dot com  2007-06-21 07:14 -------
Fixed on branches.


-- 

ubizjak at gmail dot com changed:

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


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


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

* [Bug target/32389] [4.1/4.2 Regression] ICE in extract_constrain_insn_cached when using -msse
  2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
                   ` (6 preceding siblings ...)
  2007-06-21  7:14 ` ubizjak at gmail dot com
@ 2007-06-22 18:17 ` vapier at gentoo dot org
  7 siblings, 0 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2007-06-22 18:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from vapier at gentoo dot org  2007-06-22 18:17 -------
the testcase was distilled by Harald van Dijk <truedfx@gentoo.org>, not myself


-- 


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


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

end of thread, other threads:[~2007-06-22 18:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-18  5:31 [Bug target/32389] New: [4.1/4.2/4.3 Regression] ICE in extract_constrain_insn_cached when using -msse vapier at gentoo dot org
2007-06-18  5:37 ` [Bug target/32389] " vapier at gentoo dot org
2007-06-18  5:45 ` pinskia at gcc dot gnu dot org
2007-06-18 22:33 ` uros at gcc dot gnu dot org
2007-06-18 22:35 ` [Bug target/32389] [4.1/4.2 " ubizjak at gmail dot com
2007-06-21  7:06 ` uros at gcc dot gnu dot org
2007-06-21  7:13 ` uros at gcc dot gnu dot org
2007-06-21  7:14 ` ubizjak at gmail dot com
2007-06-22 18:17 ` vapier at gentoo 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).