This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/33638] [4.3 regression]: wrong code with -fforce-addr
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2007 05:33:19 -0000
- Subject: [Bug rtl-optimization/33638] [4.3 regression]: wrong code with -fforce-addr
- References: <bug-33638-9562@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from ebotcazou at gcc dot gnu dot org 2007-10-11 05:33 -------
Subject: Bug 33638
Author: ebotcazou
Date: Thu Oct 11 05:33:04 2007
New Revision: 129226
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129226
Log:
PR rtl-optimization/33638
* dse.c (struct insn_info): Remove 'stack_read' field,
add 'stack_pointer_based' field.
(record_store): For a store with non-constant base, record
whether it is stack pointer based.
(scan_insn): For the call to a const function, remove stack
pointer based stores from the list of local active stores.
(scan_reads_nospill): Delete code dealing with const functions.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dse.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33638