http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54989
--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-20 17:11:16 UTC --- (In reply to comment #1) > The failure is caused by higher register pressure in the THEN branch of the > case, though I am not sure why the register pressure is higher than x86-linux. > In case it helps, the exact compiler defaults on darwin are... # GNU C++ (GCC) version 4.8.0 20121019 (experimental) (x86_64-apple-darwin12.2.0) # compiled by GNU C version 4.8.0 20121019 (experimental), GMP version 5.0.5, MPFR version 3.1.1, MPC version 1.0.1 # GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 # options passed: -D__DYNAMIC__ t.cc -fPIC -mmacosx-version-min=10.8.2 # -mtune=core2 -fverbose-asm # options enabled: -Wnonportable-cfstrings -fPIC # -fasynchronous-unwind-tables -fauto-inc-dec -fbranch-count-reg -fcommon # -fdelete-null-pointer-checks -fearly-inlining # -feliminate-unused-debug-types -fexceptions -ffunction-cse -fgcse-lm # -fident -finline-atomics -fira-hoist-pressure -fira-share-save-slots # -fira-share-spill-slots -fivopts -fkeep-static-consts # -fleading-underscore -fmath-errno -fmerge-debug-strings # -fmove-loop-invariants -fnext-runtime -fobjc-abi-version= -fpeephole # -fprefetch-loop-arrays -freg-struct-return # -fsched-critical-path-heuristic -fsched-dep-count-heuristic # -fsched-group-heuristic -fsched-interblock -fsched-last-insn-heuristic # -fsched-rank-heuristic -fsched-spec -fsched-spec-insn-heuristic # -fsched-stalled-insns-dep -fshow-column -fsigned-zeros # -fsplit-ivs-in-unroller -fstrict-volatile-bitfields -fsync-libcalls # -ftrapping-math -ftree-coalesce-vars -ftree-cselim -ftree-forwprop # -ftree-loop-if-convert -ftree-loop-im -ftree-loop-ivcanon # -ftree-loop-optimize -ftree-parallelize-loops= -ftree-phiprop -ftree-pta # -ftree-reassoc -ftree-scev-cprop -ftree-slp-vectorize # -ftree-vect-loop-version -funit-at-a-time -funwind-tables -fverbose-asm # -fzero-initialized-in-bss -gstrict-dwarf -m128bit-long-double -m64 # -m80387 -maccumulate-outgoing-args -malign-stringops -matt-stubs # -mconstant-cfstrings -mfancy-math-387 -mfp-ret-in-387 -mieee-fp # -mlong-double-80 -mmmx -mno-sse4 -mpush-args -mred-zone -msse -msse2 # -msse3