With -m1 -mno-expand-cbranchdi any function having a branch on long long is broken. I think the option can be removed.
I'd like to remove that option when the trunk opens for such changes.
Subject: Bug 39561 Author: kkojima Date: Tue May 12 22:47:03 2009 New Revision: 147453 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147453 Log: PR target/39561 * config/sh/sh.h (OPTIMIZATION_OPTIONS): Don't set TARGET_EXPAND_CBRANCHDI4. * config/sh/sh.md (cbranchdi4): Don't check TARGET_EXPAND_CBRANCHDI4. * config/sh/sh.opt (mexpand-cbranchdi): Remove. (cmpeqdi): Fix comment. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.h trunk/gcc/config/sh/sh.md trunk/gcc/config/sh/sh.opt
Fixed. FYI, I've confirmed that -mno-expand-cbranchdi is still broken after r146539 fix of cbranchdi4 and the cond-optab merge.