[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #12 from stubbs at icerasemi dot com 2010-01-05 12:32 --- Your patch fixes our original application. Thanks again for your help. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #11 from stubbs at icerasemi dot com 2010-01-05 12:23 --- Thanks for your time and the extra quick fix! I'll do some testing with that patch now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug tree-optimization/42614] [4.4 Regression] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #6 from stubbs at icerasemi dot com 2010-01-05 11:41 --- I can try and look into it if you give me some pointers. I can guarantee I won't be able to fix it anywhere near as quickly as you though :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42614

[Bug tree-optimization/42614] FRE optimizes away valid code after IPA inlining

2010-01-05 Thread stubbs at icerasemi dot com
--- Comment #2 from stubbs at icerasemi dot com 2010-01-05 11:14 --- This code should do it: --- extern void *malloc(int); extern void abort(void); extern void free(void *); typedef struct SEntry { unsigned char num; } TEntry; typedef struct STable { TEntry data[2]; } TTable