------- Comment #10 from sandra at codesourcery dot com 2010-05-07 02:32 ------- I've been working on a patch that fixes the original reported problem by adding a little logic to tree-ssa-reassoc.c to make it look for places where it can use combine_comparisons. Note that this test case does not involve an "if" or require any particular CFA, just straightforward expression simplification. My sense is that the test cases that do involve "if"s and/or require flow analysis are in fact different bugs that require different fixes. (In fact, 28691 looks more like an RTL-level optimization to me, maybe even backend-specific.) So, is it really useful to lump them all together as duplicates for tracking purposes? Or am I totally barking up the wrong tree here?
-- sandra at codesourcery dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandra at codesourcery dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28685