public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
@ 2007-11-24 15:25 ` tbm at cyrius dot com
  2007-11-24 15:27 ` tbm at cyrius dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-11-24 15:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-11-24 15:25 -------
Created an attachment (id=14630)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14630&action=view)
preprocessed source

Shows the problem with gcc 4.2 and with trunk from 20070916 and earlier.


-- 


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


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

* [Bug target/34215]  New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
@ 2007-11-24 15:25 tbm at cyrius dot com
  2007-11-24 15:25 ` [Bug target/34215] " tbm at cyrius dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-11-24 15:25 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]

[ Forwarded from http://bugs.debian.org/446714 ]

We're seeing the following ICE with 4.2:

(sid)1851:tbm@em64t: ~] gcc-4.2 -m32 -c -O dialign-t-prob.c
dialign-t-prob.c: In function ‘calc_score_dist’:
dialign-t-prob.c:11: warning: incompatible implicit declaration of built-in
function ‘pow’
dialign-t-prob.c:13: internal compiler error: in assign_386_stack_local, at
config/i386/i386.c:13481
Please submit a full bug report,
with preprocessed source if appropriate.

The same ICE happened with trunk from 20070916, but no longer happens
as of 20071020.  I've no idea if this got fixed or became latent.


-- 
           Summary: [4.2 Regression] ICE in assign_386_stack_local, at
                    config/i386/i386.c:13481
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: i386-linux-gnu


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


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

* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
  2007-11-24 15:25 ` [Bug target/34215] " tbm at cyrius dot com
@ 2007-11-24 15:27 ` tbm at cyrius dot com
  2007-11-24 18:12 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tbm at cyrius dot com @ 2007-11-24 15:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2007-11-24 15:26 -------
The reduced testcase only shows the problem with 4.2:


/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

void calc_score_dist (int mxdlen, long double d, long double **dist)
{
  unsigned long i, scr2;
  for (i = 1; i <= mxdlen; i++)
  {
    for (scr2 = mxdlen; scr2 <= mxdlen + 10; scr2++)
    {
    }
    dist[i][scr2] *= pow(1.0 / d, i);
  }
}


-- 


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


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

* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
  2007-11-24 15:25 ` [Bug target/34215] " tbm at cyrius dot com
  2007-11-24 15:27 ` tbm at cyrius dot com
@ 2007-11-24 18:12 ` pinskia at gcc dot gnu dot org
  2007-11-26 12:51 ` ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-24 18:12 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.2.3


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


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

* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-11-24 18:12 ` pinskia at gcc dot gnu dot org
@ 2007-11-26 12:51 ` ubizjak at gmail dot com
  2007-11-26 14:23 ` 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-11-26 12:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|uros at gcc dot gnu dot org |
         AssignedTo|unassigned at gcc dot gnu   |ubizjak at gmail dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
      Known to work|4.1.2                       |4.1.2 4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-26 12:51:08
               date|                            |


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


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

* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-11-26 12:51 ` ubizjak at gmail dot com
@ 2007-11-26 14:23 ` uros at gcc dot gnu dot org
  2007-11-26 14:24 ` ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-11-26 14:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from uros at gcc dot gnu dot org  2007-11-26 14:23 -------
Subject: Bug 34215

Author: uros
Date: Mon Nov 26 14:22:59 2007
New Revision: 130439

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130439
Log:
        PR target/34215
        * config/i386/i386.md (truncdfsf2): Select SLOT_TEMP stack slot if
        virtual registers are instantiated.
        (truncxfsf2): Ditto.
        (truncxfdf2): Ditto.

testsuite/ChangeLog:

        PR target/34215
        * gcc.target/i386/pr34215.c: New test.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.target/i386/pr34215.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    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=34215


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

* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-11-26 14:23 ` uros at gcc dot gnu dot org
@ 2007-11-26 14:24 ` ubizjak at gmail dot com
  2007-11-26 15:53 ` uros at gcc dot gnu dot org
  2007-11-26 15:54 ` ubizjak at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2007-11-26 14:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ubizjak at gmail dot com  2007-11-26 14:24 -------
Fixed for 4.2 branch, latent on mainline.


-- 


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


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

* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2007-11-26 14:24 ` ubizjak at gmail dot com
@ 2007-11-26 15:53 ` uros at gcc dot gnu dot org
  2007-11-26 15:54 ` ubizjak at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: uros at gcc dot gnu dot org @ 2007-11-26 15:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from uros at gcc dot gnu dot org  2007-11-26 15:53 -------
Subject: Bug 34215

Author: uros
Date: Mon Nov 26 15:52:57 2007
New Revision: 130440

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130440
Log:
        PR target/34215
        * config/i386/i386.md (truncdfsf2): Select SLOT_TEMP stack slot if
        virtual registers are instantiated.
        (truncxf<mode>2): Ditto.
        (floatsi<mode>2): Ditto.
        (floatdisf2): Ditto.
        (floatdidf2): Ditto.

testsuite/ChangeLog:

        PR target/34215
        * gcc.target/i386/pr34215.c: New test.


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


-- 


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


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

* [Bug target/34215] [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481
  2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2007-11-26 15:53 ` uros at gcc dot gnu dot org
@ 2007-11-26 15:54 ` ubizjak at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: ubizjak at gmail dot com @ 2007-11-26 15:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ubizjak at gmail dot com  2007-11-26 15:54 -------
Fixed.


-- 

ubizjak at gmail dot com changed:

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


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


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

end of thread, other threads:[~2007-11-26 15:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-24 15:25 [Bug target/34215] New: [4.2 Regression] ICE in assign_386_stack_local, at config/i386/i386.c:13481 tbm at cyrius dot com
2007-11-24 15:25 ` [Bug target/34215] " tbm at cyrius dot com
2007-11-24 15:27 ` tbm at cyrius dot com
2007-11-24 18:12 ` pinskia at gcc dot gnu dot org
2007-11-26 12:51 ` ubizjak at gmail dot com
2007-11-26 14:23 ` uros at gcc dot gnu dot org
2007-11-26 14:24 ` ubizjak at gmail dot com
2007-11-26 15:53 ` uros at gcc dot gnu dot org
2007-11-26 15:54 ` 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).