public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/2675: 3.0 branch ICE when inlining (does not occur on 2.95.2)
@ 2001-04-27 20:46 Dan Nicolaescu
0 siblings, 0 replies; only message in thread
From: Dan Nicolaescu @ 2001-04-27 20:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 2675
>Category: c
>Synopsis: 3.0 branch ICE when inlining (does not occur on 2.95.2)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Apr 27 20:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Dan Nicolaescu <dann@godzilla.ics.uci.edu>
>Release: unknown-1.0
>Organization:
>Environment:
sun-sparc-solaris2.7
gcc snapshot from 2001-04-23
>Description:
The following code gets an ICE when compiled with
-O2 -finline-functions
(or -O3)
void f1 (double);
void f2 (int);
void
foo (int type, double xx)
{
if (type)
f1 (xx);
else
f2 (type);
}
void
bar (int type)
{
foo (type, 1.0);
}
range.i: In function `bar':
range.i:18: Unrecognizable insn:
(insn/i 29 42 30 (set (reg:DF 24 %i0)
(reg/v:SI 106)) -1 (nil)
(expr_list:REG_DEAD (reg/v:SI 106)
(expr_list:REG_EQUAL (const_int 0 [0x0])
(nil))))
range.i:18: Internal compiler error in extract_insn, at recog.c:2212
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>How-To-Repeat:
compile the code above using -O2 -finline-functions
on a sun-sparc-solaris2.7 machine with the
gcc snapshot from 2001-04-23
It also crashes on the mainline.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-27 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-27 20:46 c/2675: 3.0 branch ICE when inlining (does not occur on 2.95.2) Dan Nicolaescu
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).