I just tried to compile the Linux kernel 2.6.33-rc6 under valgrind with the C compiler version 4.5 snapshot 20100128 and valgrind said ==2968== Conditional jump or move depends on uninitialised value(s) ==2968== at 0x7A6925: delegitimize_mem_from_attrs (simplify-rtx.c:244) ==2968== by 0x961517: ix86_delegitimize_address (i386.c:10883) ==2968== by 0x93E5F6: emit_note_insn_var_location (var-tracking.c:6515) ==2968== by 0xCB84D7: htab_traverse_noresize (hashtab.c:753) ==2968== by 0x941376: emit_notes_for_changes (var-tracking.c:6741) ==2968== by 0x946A67: vt_emit_notes (var-tracking.c:7106) ==2968== by 0x94A602: variable_tracking_main (var-tracking.c:7637) ==2968== by 0x722ECA: execute_one_pass (passes.c:1561) ==2968== by 0x723154: execute_pass_list (passes.c:1616) ==2968== by 0x723166: execute_pass_list (passes.c:1617) ==2968== by 0x723166: execute_pass_list (passes.c:1617) ==2968== by 0x818C94: tree_rest_of_compilation (tree-optimize.c:413) ==2968== Line 244 of simplify-rtx.c is if (bitsize != GET_MODE_BITSIZE (mode) || (bitpos % BITS_PER_UNIT) || (toffset && !host_integerp (toffset, 0))) decl = NULL; Preprocessed source code attached. Flags -Os -g required.
Created attachment 19818 [details] C
Probably the same issue as PR42991.
The fix for 42991 also fixes this bug. *** This bug has been marked as a duplicate of 42991 ***
(In reply to comment #2) > Probably the same issue as PR42991. Does fixing 42991 also fix this problem ? I suspect it might be worth checking this.