This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Committed] PR19800: Don't call gen_lowpart in simplify-rtx.c
- From: Andreas Schwab <schwab at suse dot de>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Feb 2005 17:45:36 +0100
- Subject: Re: [Committed] PR19800: Don't call gen_lowpart in simplify-rtx.c
- References: <Pine.LNX.4.44.0502070641230.31487-100000@www.eyesopen.com>
Roger Sayle <roger@eyesopen.com> writes:
> Index: simplify-rtx.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/simplify-rtx.c,v
> retrieving revision 1.226
> diff -c -3 -p -r1.226 simplify-rtx.c
> *** simplify-rtx.c 7 Feb 2005 05:39:05 -0000 1.226
> --- simplify-rtx.c 7 Feb 2005 15:39:20 -0000
> *************** simplify_relational_operation_1 (enum rt
> *** 2886,2891 ****
> --- 2886,2894 ----
> && op1 == const0_rtx
> && GET_MODE_CLASS (mode) == MODE_INT
> && cmp_mode != VOIDmode
> + /* ??? Work-around optimizer issues on ia64. */
> + && cmp_mode != BImode
> + && mode != BImode
> && nonzero_bits (op0, cmp_mode) == 1
> && STORE_FLAG_VALUE == 1)
> {
I've successfully bootstrapped the compiler with this patch.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."