public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/8750: Cygwin prolog generation erroneously emitting __alloca as regular function call
@ 2003-04-29 0:50 dannysmith
0 siblings, 0 replies; 4+ messages in thread
From: dannysmith @ 2003-04-29 0:50 UTC (permalink / raw)
To: dannysmith, fish, gcc-bugs, gcc-prs, hercules-390, zHercules
Synopsis: Cygwin prolog generation erroneously emitting __alloca as regular function call
State-Changed-From-To: analyzed->closed
State-Changed-By: dannysmith
State-Changed-When: Tue Apr 29 00:50:47 2003
State-Changed-Why:
Fixed in 3.3
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8750
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: optimization/8750: Cygwin prolog generation erroneously emitting __alloca as regular function call
@ 2003-02-23 21:56 Danny Smith
0 siblings, 0 replies; 4+ messages in thread
From: Danny Smith @ 2003-02-23 21:56 UTC (permalink / raw)
To: dannysmith; +Cc: gcc-prs
The following reply was made to PR optimization/8750; it has been noted by GNATS.
From: Danny Smith <dannysmith@clear.net.nz>
To: gcc-gnats@gcc.gnu.org, zHercules@yahoogroups.com, gcc-bugs@gcc.gnu.org,
dannysmith@sources.redhat.com, gcc-prs@gcc.gnu.org, fish@infidels.org,
hercules-390@yahoogroups.com
Cc:
Subject: Re: optimization/8750: Cygwin prolog generation erroneously emitting
__alloca as regular function call
Date: Sun, 23 Feb 2003 21:50:15 +0000
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=g
cc&pr=8750
Patch for 3_2-branch is at:
http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01482.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: optimization/8750: Cygwin prolog generation erroneously emitting __alloca as regular function call
@ 2003-02-18 13:48 ebotcazou
0 siblings, 0 replies; 4+ messages in thread
From: ebotcazou @ 2003-02-18 13:48 UTC (permalink / raw)
To: dannysmith, fish, gcc-bugs, gcc-prs, hercules-390, nobody, zHercules
Synopsis: Cygwin prolog generation erroneously emitting __alloca as regular function call
Responsible-Changed-From-To: unassigned->dannysmith
Responsible-Changed-By: ebotcazou
Responsible-Changed-When: Tue Feb 18 13:48:54 2003
Responsible-Changed-Why:
Submitter of the fix.
State-Changed-From-To: open->analyzed
State-Changed-By: ebotcazou
State-Changed-When: Tue Feb 18 13:48:54 2003
State-Changed-Why:
Do you plan to backport the patch to the 3.2 branch? If no, please close the bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8750
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: optimization/8750: Cygwin prolog generation erroneously emitting __alloca as regular function call
@ 2002-12-19 11:16 Danny Smith
0 siblings, 0 replies; 4+ messages in thread
From: Danny Smith @ 2002-12-19 11:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/8750; it has been noted by GNATS.
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001@yahoo.co.nz>
To: hercules-390@yahoogroups.com, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
zHercules@yahoogroups.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
fish@infidels.org
Cc:
Subject: Re: optimization/8750: Cygwin prolog generation erroneously emitting __alloca as regular function call
Date: Fri, 20 Dec 2002 06:06:43 +1100 (EST)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8750
The followin fixes PR optimization/8750, a serious regression from 2.95
on W32 targets (which set TARGET_STACK_PROBE)
Tested on 3.2 and 3.3 branches with i386-pc-mingw32.
Can someone with more knowledge of 1386 backend please review and
perhaps suggest less naive fix.
ChangeLog
2002-12-19 Danny Smith <dannysmith@users.sourceforge.net>
PR optimization/8750
* config/i386/i386.c (ix86_expand_prologue): Don't allow
scheduling pass to move insns across __alloca call.
Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.495
diff -c -3 -p -r1.495 i386.c
*** i386.c 9 Dec 2002 23:53:59 -0000 1.495
--- i386.c 19 Dec 2002 10:44:08 -0000
*************** ix86_expand_prologue ()
*** 4516,4521 ****
--- 4516,4525 ----
CALL_INSN_FUNCTION_USAGE (insn)
= gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, arg0),
CALL_INSN_FUNCTION_USAGE (insn));
+
+ /* Don't allow scheduling pass to move insns across __alloca
+ call. */
+ emit_insn (gen_blockage (const0_rtx));
}
if (use_mov)
{
http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your seasons greetings online this year!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-29 0:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29 0:50 optimization/8750: Cygwin prolog generation erroneously emitting __alloca as regular function call dannysmith
-- strict thread matches above, loose matches on Subject: below --
2003-02-23 21:56 Danny Smith
2003-02-18 13:48 ebotcazou
2002-12-19 11:16 Danny Smith
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).