diff mbox

[picochip] Disable exception flags which are unnecessary on a c-only port

Message ID 4CAB49CE.60503@picochip.com
State New
Headers show

Commit Message

Hariharan Sandanagobalane Oct. 5, 2010, 3:52 p.m. UTC
Hello all,
The following patch disables exception flags for picochip since picochip 
is a c-only port. Committed to mainline as r164992.

Thanks
Hari

ChangeLog:
         * config/picochip/picochip.c (picochip_option_override): Disable
         exception flags for picochip.

Patch:

       trash the instruction modes (e.g., instructions are changed to

Comments

Richard Henderson Oct. 5, 2010, 4:40 p.m. UTC | #1
On 10/05/2010 08:52 AM, Hariharan Sandanagobalane wrote:
> The following patch disables exception flags for picochip since
> picochip is a c-only port. Committed to mainline as r164992.
...
> ChangeLog:
>         * config/picochip/picochip.c (picochip_option_override): Disable
>         exception flags for picochip.

This change is incorrect.  Please mirror

2010-10-01  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

        * config/spu/spu.c (TARGET_EXCEPT_UNWIND_INFO): Set to
        sjlj_except_unwind_info.

instead.


r~
diff mbox

Patch

Index: gcc/config/picochip/picochip.c
===================================================================
--- gcc/config/picochip/picochip.c      (revision 164991)
+++ gcc/config/picochip/picochip.c      (working copy)
@@ -358,6 +358,11 @@ 
    if (optimize >= 1)
      flag_section_anchors = 1;

+  /* Exception flags are irrelevant to picochip. It causes failure in 
libgcc
+     functions. */
+    flag_non_call_exceptions = 0;
+    flag_exceptions = 0;
+
    /* Turn off the second scheduling pass, and move it to
       picochip_reorg, to avoid having the second jump optimisation