Fix EH handling issue in last change:
authorJoern Rennecke <joern.rennecke@embecosm.com>
Mon, 13 May 2013 00:29:36 +0000 (00:29 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Mon, 13 May 2013 00:29:36 +0000 (01:29 +0100)
commit2710a27af098557e37d3d131fa5a43dbfddab408
treee3ecbeedf510584b706045b1f77909c17261de6c
parent350bfa8f865cdf5214df95cecc58b58556088a17
Fix EH handling issue in last change:

        * config/epiphany/epiphany.c (epiphany_init): Check size of
        NUM_MODES_FOR_MODE_SWITCHING.
        (epiphany_expand_prologue):
        Remove CONFIG_REGNUM initial value handling code.
        (epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG.
        (epiphany_mode_needed, epiphany_mode_entry_exit): Likewise.
        (emit_set_fp_mode, epiphany_mode_after): Likewise.
        (epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>:
        Don't return 1 for FP_MODE_NONE.
        * config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING):
        Add value for EPIPHANY_MSW_ENTITY_CONFIG.
        (EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define.
        * config/epiphany/epiphany.md (save_config): New pattern.

From-SVN: r198811
gcc/ChangeLog
gcc/config/epiphany/epiphany.c