public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/8044: gcc 3.1.1 -O2 error: "Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441"
@ 2002-09-25 13:26 andy
  0 siblings, 0 replies; 3+ messages in thread
From: andy @ 2002-09-25 13:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8044
>Category:       optimization
>Synopsis:       gcc 3.1.1 -O2 error: "Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 25 13:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Birkett
>Release:        gcc version 3.1.1 (Mandrake Linux 8.3 3.1.1-0.7mdk)
>Organization:
>Environment:

>Description:
Compile the three-line program in "How to repeat" with the -O2 flag.

[adb@localhost bug]$ gcc -O2 out.c
out.c: In function `foo':
out.c:4: Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441
Please submit a full bug report,
with preprocessed source if appropriate.

On my machine, gcc is configured as follows:

Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.1.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --with-gxx-include-dir=/usr/include/g++-v31 --enable-languages=c,c++,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.1.1 (Mandrake Linux 8.3 3.1.1-0.7mdk)
>How-To-Repeat:
Compile the following code with -O2:

double foo()
{
  bar(0);
}
>Fix:
Compile with -O instead of -O2.
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: optimization/8044: gcc 3.1.1 -O2 error: "Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441"
@ 2002-09-26 18:11 rth
  0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-09-26 18:11 UTC (permalink / raw)
  To: andy, gcc-bugs, gcc-prs, nobody

Synopsis: gcc 3.1.1 -O2 error: "Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441"

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Thu Sep 26 18:11:31 2002
State-Changed-Why:
    http://gcc.gnu.org/ml/gcc-patches/2002-09/msg01645.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8044


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

* Re: optimization/8044: gcc 3.1.1 -O2 error: "Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441"
@ 2002-09-25 14:56 Eric Botcazou
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Botcazou @ 2002-09-25 14:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/8044; it has been noted by GNATS.

From: "Eric Botcazou" <ebotcazou@libertysurf.fr>
To: <andy@nobugs.org>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: optimization/8044: gcc 3.1.1 -O2 error: "Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441"
Date: Wed, 25 Sep 2002 23:52:28 +0200

 > out.c: In function `foo':
 > out.c:4: Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441
 > Please submit a full bug report,
 > with preprocessed source if appropriate.
 
 That's a duplicate of PR c/7160.
 
 --
 Eric Botcazou
 


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

end of thread, other threads:[~2002-09-27  1:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-25 13:26 optimization/8044: gcc 3.1.1 -O2 error: "Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441" andy
2002-09-25 14:56 Eric Botcazou
2002-09-26 18:11 rth

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