public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/8659: trying to delete frame instruction with -fpic
@ 2002-11-28 12:36 meissner
0 siblings, 0 replies; only message in thread
From: meissner @ 2002-11-28 12:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 8659
>Category: target
>Synopsis: trying to delete frame instruction with -fpic
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 20 06:56:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Marcus Meissner <meissner@suse.de>
>Release: gcc version 3.2.1 20021002 (prerelease)
>Organization:
>Environment:
SuSE Linux 8.1.99 (PowerPC 32) (powerpc-suse-linux)
>Description:
The attached testcase fails when compiled with:
gcc -O2 -fpic testcase.i
with:
setup.i: In function `c':
setup.i:10: Attempt to delete prologue/epilogue insn:
(insn 66 64 67 (set (reg:SI 65 lr)
(reg:SI 12 r12)) -1 (nil)
(nil))
setup.i:10: Internal compiler error in propagate_one_insn, at flow.c:1615
>How-To-Repeat:
gcc -O2 -fpic testcase.i on powerpc-*-linux
>Fix:
I guess something in the sibcall/varargs handling is amiss.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="testcase.i"
Content-Disposition: inline; filename="testcase.i"
static int a() {}
static int b(char *f, ...) { }
void c(char *x) {
if (!*x) {
b("");
return;
}
a();
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-20 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-28 12:36 target/8659: trying to delete frame instruction with -fpic meissner
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).