[Bug tree-optimization/23657] [4.1 Regression] Wrong code generated: too much optimized out

2005-08-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 16:19 --- Confirmed, between t41.copyrename2 and t42.dom2, the V_MAY_DEF is removed. After *next_8 = 7; Before: # TMT.51_18 = V_MAY_DEF TMT.51_4; *dest_2 = 7; I think we are forgetting to copy the alias

[Bug tree-optimization/23657] [4.1 Regression] Wrong code generated: too much optimized out

2005-08-31 Thread qrczak at knm dot org dot pl
--- Additional Comments From qrczak at knm dot org dot pl 2005-08-31 22:11 --- I think this is fixed by the patch for PR 23509: http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01647.html Indeed, applying this patch and recompiling gcc fixed the bug. Thanks. --

[Bug tree-optimization/23657] [4.1 Regression] Wrong code generated: too much optimized out

2005-08-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 22:14 --- (In reply to comment #2) Indeed, applying this patch and recompiling gcc fixed the bug. Thanks. Thanks for trying the patch. I only thought about this patch because of the symptom was about the same as

[Bug tree-optimization/23657] [4.1 Regression] Wrong code generated: too much optimized out

2005-08-31 Thread qrczak at knm dot org dot pl
--- Additional Comments From qrczak at knm dot org dot pl 2005-08-31 22:23 --- *** This bug has been marked as a duplicate of 23509 *** -- What|Removed |Added