public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: "Danny Smith" <danny_r_smith_2001@yahoo.co.nz> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: optimization/8750: Cygwin prolog generation erroneously emitting __alloca as regular function call Date: Thu, 19 Dec 2002 11:16:00 -0000 [thread overview] Message-ID: <20021219191601.10655.qmail@sources.redhat.com> (raw) 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!
next reply other threads:[~2002-12-19 19:16 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-19 11:16 Danny Smith [this message] 2003-02-18 13:48 ebotcazou 2003-02-23 21:56 Danny Smith 2003-04-29 0:50 dannysmith
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021219191601.10655.qmail@sources.redhat.com \ --to=danny_r_smith_2001@yahoo.co.nz \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).