public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
@ 2004-06-29 22:04 aaronavay62 at aaronwl dot com
  2004-06-29 22:13 ` [Bug c/16283] " aaronavay62 at aaronwl dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-06-29 22:04 UTC (permalink / raw)
  To: gcc-bugs

gcc version 3.5.0 20040626 (experimental)
i686-pc-mingw32

Windows XP SP1 Professional
current Cygwin 1.5.10
binutils 2.15.91 20040628
mingwrt head
w32api head
libiconv 1.9.1
gmake 3.80

Configured with: ../../src/cvs/mainline/gcc/configure --
prefix=/aaronwl/cs/env/mingw-head-head-head --enable-checking --enable-
maintainer-mode --with-included-gettext --with-libiconv-
prefix=/aaronwl/cs/internat/iconv/install

gcc -O2 -c sf_erf.c causes the ICE

../../src/cvs/runtime/mingwex/math/sf_erf.c: In function `erfcf':
../../src/cvs/runtime/mingwex/math/sf_erf.c:264: internal compiler error: in 
subst_stack_regs_pat, at reg-stack.c:1638
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Testcase is sf_erf.c, attachment following.

-- 
           Summary: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aaronavay62 at aaronwl dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


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


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

* [Bug c/16283] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
@ 2004-06-29 22:13 ` aaronavay62 at aaronwl dot com
  2004-06-29 22:14 ` bangerth at dealii dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-06-29 22:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aaronavay62 at aaronwl dot com  2004-06-29 22:04 -------
Created an attachment (id=6658)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6658&action=view)
sf_erf.i.bz2 that causes the failure.


-- 


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


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

* [Bug c/16283] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
  2004-06-29 22:13 ` [Bug c/16283] " aaronavay62 at aaronwl dot com
@ 2004-06-29 22:14 ` bangerth at dealii dot org
  2004-06-29 22:18 ` [Bug c/16283] [3.5 regression] " bangerth at dealii dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2004-06-29 22:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-29 22:13 -------
Confirmed. I'm working on a small testcase. 
 
W. 

-- 


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


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

* [Bug c/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
  2004-06-29 22:13 ` [Bug c/16283] " aaronavay62 at aaronwl dot com
  2004-06-29 22:14 ` bangerth at dealii dot org
@ 2004-06-29 22:18 ` bangerth at dealii dot org
  2004-06-29 22:28 ` bangerth at dealii dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2004-06-29 22:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.5.0
      Known to work|                            |3.4.0
            Summary|ICE subst_stack_regs_pat, at|[3.5 regression] ICE
                   |reg-stack.c:1638 at gcc -O2 |subst_stack_regs_pat, at
                   |                            |reg-stack.c:1638 at gcc -O2
   Target Milestone|---                         |3.5.0


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


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

* [Bug c/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
                   ` (2 preceding siblings ...)
  2004-06-29 22:18 ` [Bug c/16283] [3.5 regression] " bangerth at dealii dot org
@ 2004-06-29 22:28 ` bangerth at dealii dot org
  2004-07-13 21:56 ` [Bug target/16283] " reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2004-06-29 22:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-06-29 22:18 -------
That was easy: 
----------------- 
double bar(double); 
 
void foo(double x) 
{ 
 double z,r,R,S; 
 r = bar(-0.5625) * bar(z*z+R/S); 
} 
----------------- 
 
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -O2 -c x.ii  
x.ii: In function `void foo(double)': 
x.ii:7: internal compiler error: in subst_stack_regs_pat, at reg-stack.c:1638 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-29 22:18:54
               date|                            |


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


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

* [Bug target/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
                   ` (3 preceding siblings ...)
  2004-06-29 22:28 ` bangerth at dealii dot org
@ 2004-07-13 21:56 ` reichelt at gcc dot gnu dot org
  2004-08-09  1:50 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-13 21:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-13 21:56 -------
We can trigger the crash with only one variable:

==================================
int foo(double);

void bar()
{
    double x;
    foo(0)+foo(2*x+1);
}
==================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


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


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

* [Bug target/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
                   ` (4 preceding siblings ...)
  2004-07-13 21:56 ` [Bug target/16283] " reichelt at gcc dot gnu dot org
@ 2004-08-09  1:50 ` pinskia at gcc dot gnu dot org
  2004-08-25 16:38 ` reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-09  1:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-09 01:49 -------
: Search converges between 2004-05-23-trunk (#458) and 2004-06-01-trunk (#459).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |15832


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


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

* [Bug target/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
                   ` (5 preceding siblings ...)
  2004-08-09  1:50 ` pinskia at gcc dot gnu dot org
@ 2004-08-25 16:38 ` reichelt at gcc dot gnu dot org
  2004-08-25 16:39 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-25 16:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-25 16:38 -------
The failure was introduced with the same patch as in PR15382.


-- 


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


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

* [Bug target/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
                   ` (6 preceding siblings ...)
  2004-08-25 16:38 ` reichelt at gcc dot gnu dot org
@ 2004-08-25 16:39 ` reichelt at gcc dot gnu dot org
  2004-09-03 17:21 ` pinskia at gcc dot gnu dot org
  2004-09-07 12:42 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-08-25 16:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-25 16:39 -------
Sorry, this should be PR15832.

-- 


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


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

* [Bug target/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
                   ` (7 preceding siblings ...)
  2004-08-25 16:39 ` reichelt at gcc dot gnu dot org
@ 2004-09-03 17:21 ` pinskia at gcc dot gnu dot org
  2004-09-07 12:42 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-03 17:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 16283 depends on bug 15832, which changed state.

Bug 15832 Summary: [3.5 Regression] ICE in move_for_stack_reg, at reg-stack.c:1120
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15832

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug target/16283] [3.5 regression] ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2
  2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
                   ` (8 preceding siblings ...)
  2004-09-03 17:21 ` pinskia at gcc dot gnu dot org
@ 2004-09-07 12:42 ` reichelt at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-09-07 12:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-09-07 12:42 -------
Fixed on mainline.


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


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


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

end of thread, other threads:[~2004-09-07 12:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 22:04 [Bug c/16283] New: ICE subst_stack_regs_pat, at reg-stack.c:1638 at gcc -O2 aaronavay62 at aaronwl dot com
2004-06-29 22:13 ` [Bug c/16283] " aaronavay62 at aaronwl dot com
2004-06-29 22:14 ` bangerth at dealii dot org
2004-06-29 22:18 ` [Bug c/16283] [3.5 regression] " bangerth at dealii dot org
2004-06-29 22:28 ` bangerth at dealii dot org
2004-07-13 21:56 ` [Bug target/16283] " reichelt at gcc dot gnu dot org
2004-08-09  1:50 ` pinskia at gcc dot gnu dot org
2004-08-25 16:38 ` reichelt at gcc dot gnu dot org
2004-08-25 16:39 ` reichelt at gcc dot gnu dot org
2004-09-03 17:21 ` pinskia at gcc dot gnu dot org
2004-09-07 12:42 ` reichelt 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).