Summary: * Validation for embedded toolchain 2012q1 update release and Linaro binary toolchain 2012.03 release. * Failed case analysis for -Os. * Read benchmark code
Details: 1. Validation for embedded toolchain 2012q1 update release and Linaro binary toolchain 2012.03 release. 2. Root cause the new failed cased pr30951.c with -Os. In function tree_swap_operands_p (fold-const.c), there is a check if (optimize_function_for_size_p (cfun)) return 0; which blocks to swap (x != x + 10) to (x + 10 != x). And the following optimization can only handle (x + 10 != x). 3. Read some benchmark codes to find the opportunities for code size optimization.
Plans: * Finalize Linaro binary toolchain 2012.03 release. * Read benchmark codes.
Best regards! -Zhenqiang