This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10087: [3.3/3.4 regression] optimizer produces wrong code when indexing 2D array
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, p dot van-hoof at qub dot ac dot uk, gcc-gnats at gcc dot gnu dot org, jh at suse dot cz
- Date: Sat, 15 Mar 2003 11:18:03 -0800
- Subject: Re: optimization/10087: [3.3/3.4 regression] optimizer produces wrong code when indexing 2D array
- References: <20030314234518.504.qmail@sources.redhat.com>
Synopsis: [3.3/3.4 regression] optimizer produces wrong code when indexing 2D array
The regression appeared with this patch:
Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh at suse dot cz>
* gcse.c: Include cselib.h
(constptop_register): Break out from ...
(cprop_insn): ... here; kill basic_block argument.
(do_local_cprop, local_cprop_pass): New functions.
(one_cprop_pass): Call local_cprop_pass.
For my testing I used -O2 on i686-pc-linux-gnu with the
testcase from Wolfgang.
Janis