public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/17531] [4.0 Regression] [ivopts] ICE compiling gzip deflate.c Date: Fri, 17 Sep 2004 09:09:00 -0000 [thread overview] Message-ID: <20040917090908.26802.qmail@sourceware.org> (raw) In-Reply-To: <20040917025408.17531.dje@gcc.gnu.org> ------- Additional Comments From rakdver at gcc dot gnu dot org 2004-09-17 09:09 ------- This patch should fix the problem; I will submit it once it passes regtesting. Zdenek Index: optabs.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/optabs.c,v retrieving revision 1.241 diff -c -3 -p -r1.241 optabs.c *** optabs.c 10 Sep 2004 11:02:24 -0000 1.241 --- optabs.c 17 Sep 2004 09:05:40 -0000 *************** expand_binop (enum machine_mode mode, op *** 738,748 **** force expensive constants into a register. */ if (CONSTANT_P (op0) && optimize && rtx_cost (op0, binoptab->code) > COSTS_N_INSNS (1)) ! op0 = force_reg (mode, op0); if (CONSTANT_P (op1) && optimize && ! shift_op && rtx_cost (op1, binoptab->code) > COSTS_N_INSNS (1)) ! op1 = force_reg (mode, op1); /* Record where to delete back to if we backtrack. */ last = get_last_insn (); --- 738,756 ---- force expensive constants into a register. */ if (CONSTANT_P (op0) && optimize && rtx_cost (op0, binoptab->code) > COSTS_N_INSNS (1)) ! { ! if (GET_MODE (op0) != VOIDmode) ! op0 = convert_modes (mode, VOIDmode, op0, unsignedp); ! op0 = force_reg (mode, op0); ! } if (CONSTANT_P (op1) && optimize && ! shift_op && rtx_cost (op1, binoptab->code) > COSTS_N_INSNS (1)) ! { ! if (GET_MODE (op1) != VOIDmode) ! op1 = convert_modes (mode, VOIDmode, op1, unsignedp); ! op1 = force_reg (mode, op1); ! } /* Record where to delete back to if we backtrack. */ last = get_last_insn (); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17531
next prev parent reply other threads:[~2004-09-17 9:09 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-17 2:54 [Bug tree-optimization/17531] New: " dje at gcc dot gnu dot org 2004-09-17 3:02 ` [Bug tree-optimization/17531] " dberlin at gcc dot gnu dot org 2004-09-17 3:10 ` [Bug tree-optimization/17531] [4.0 Regression] " pinskia at gcc dot gnu dot org 2004-09-17 3:44 ` pinskia at gcc dot gnu dot org 2004-09-17 9:09 ` rakdver at gcc dot gnu dot org [this message] 2004-09-17 9:22 ` pinskia at gcc dot gnu dot org 2004-09-18 16:31 ` pinskia at gcc dot gnu dot org 2004-09-23 12:18 ` rakdver at gcc dot gnu dot org 2004-09-27 22:21 ` rth at gcc dot gnu dot org 2004-09-27 22:23 ` rth at gcc dot gnu dot org 2004-09-28 11:43 ` pinskia at gcc dot gnu dot org 2004-09-28 15:54 ` matz at suse dot de 2004-09-28 22:55 ` cvs-commit at gcc dot gnu dot org 2004-09-28 23:12 ` rth at gcc dot gnu dot org
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=20040917090908.26802.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).