http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48270
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
Target Milestone|4.7.0 |---
Ever Confirmed|1 |0
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-03-24 12:10:58
UTC ---
(In reply to comment #2)
> Confirmed with -m32 testing on x86_64-linux. HJ, instead of saying Linux/x86
> please fill in the target field (x86 is at least now ambiguous).
It failed for me with both -m32/-m64. That is what I meant by Linux/x86.
Valgrind reports:
==32103== Invalid read of size 1
==32103== at 0x935283: tree_ssa_phiopt_worker (tree-ssa-phiopt.c:1512)
==32103== by 0x7AE895: execute_one_pass (passes.c:1554)
==32103== by 0x7AEB74: execute_pass_list (passes.c:1609)
==32103== by 0x7AEB86: execute_pass_list (passes.c:1610)
==32103== by 0x8A6345: tree_rest_of_compilation (tree-optimize.c:422)
==32103== by 0xA4D7E9: cgraph_expand_function (cgraphunit.c:1576)
==32103== by 0xA4FF19: cgraph_optimize (cgraphunit.c:1635)
==32103== by 0xA50499: cgraph_finalize_compilation_unit (cgraphunit.c:1096)
==32103== by 0x77080C: write_global_declarations (langhooks.c:303)
==32103== by 0x84F1AD: toplev_main (toplev.c:591)
==32103== by 0x37CCA1EDDC: (below main) (in /lib64/libc-2.13.so)
==32103== Address 0xc97df98 is 24 bytes inside a block of size 112 free'd
==32103== at 0x4A05187: free (vg_replace_malloc.c:325)
==32103== by 0x875BF4: free_data_refs (tree-data-ref.c:4671)
==32103== by 0x935205: tree_ssa_phiopt_worker (tree-ssa-phiopt.c:1497)
==32103== by 0x7AE895: execute_one_pass (passes.c:1554)
==32103== by 0x7AEB74: execute_pass_list (passes.c:1609)
==32103== by 0x7AEB86: execute_pass_list (passes.c:1610)
==32103== by 0x8A6345: tree_rest_of_compilation (tree-optimize.c:422)
==32103== by 0xA4D7E9: cgraph_expand_function (cgraphunit.c:1576)
==32103== by 0xA4FF19: cgraph_optimize (cgraphunit.c:1635)
==32103== by 0xA50499: cgraph_finalize_compilation_unit (cgraphunit.c:1096)