[Bug c/44736] New: Overeager -O1 optimization results in incorrect code generation

2010-06-30 Thread opensource3141 at gmail dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: opensource3141 at gmail dot com GCC build triplet: i386-linux GCC host triplet: i386-linux

[Bug tree-optimization/44736] Overeager -O1 optimization results in incorrect code generation

2010-06-30 Thread opensource3141 at gmail dot com
--- Comment #2 from opensource3141 at gmail dot com 2010-07-01 00:32 --- Thanks for the lightening fast response. I wouldn't have known to look there, especially since older GCC versions did not have this problem. Is it because 4.5.0 has better optimizations such that the

[Bug tree-optimization/44736] Overeager -O1 optimization results in incorrect code generation

2010-07-01 Thread opensource3141 at gmail dot com
--- Comment #4 from opensource3141 at gmail dot com 2010-07-01 16:52 --- (In reply to comment #3) > We are going to ask developers to use -fno-builtin-malloc for now. I also > think this is a glibc bug which should mark the hook variables volatile. I tested using the volatile k