This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29900] [4.3 regression]: fwprop triggers uninitialized read
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2006 20:21:11 -0000
- Subject: [Bug target/29900] [4.3 regression]: fwprop triggers uninitialized read
- References: <bug-29900-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-19 20:21 -------
I think this was already fixed via:
2006-11-14 Paolo Bonzini <bonzini@gnu.org>
PR rtl-optimization/29798
* fwprop.c (use_killed_between): Check that DEF_INSN dominates
TARGET_INSN before any other check.
(fwprop_init): Always calculate dominators.
(fwprop_done): Always free them.
I cannot reproduce this on the mainline as of revision 118984 (with a fix to
fwprop.c for the bootstrap failure which I am about to send off but that should
not cause any differences here).
Can you show what exact version you are using?
This is what I get:
(insn:TI 141 143 41 3 (set (reg:SF 11 st(3) [orig:63 pretmp.100 ] [63])
(float:SF (mem:SI (reg/f:SI 7 sp) [0 S4 A8]))) 128 {*floatsisf2_i387}
(nil)
(nil))
....
(insn:TI 40 41 144 3 (set (reg:SF 11 st(3) [orig:64 pretmp.99 ] [64])
(minus:SF (reg:SF 14 st(6) [orig:90 pretmp.53 ] [90])
(reg:SF 11 st(3) [orig:63 pretmp.100 ] [63]))) 420 {*fop_sf_1_i387}
(nil)
(nil))
....
(insn:TI 47 49 131 3 (set (reg:SF 12 st(4) [orig:70 pretmp.92 ] [70])
(mult:SF (reg:SF 12 st(4) [orig:70 pretmp.92 ] [70])
(reg:SF 11 st(3) [orig:64 pretmp.99 ] [64]))) 417
{*fop_sf_comm_i387} (nil)
(nil))
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29900