Message ID | 4CAB49CE.60503@picochip.com |
---|---|
State | New |
Headers | show |
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~
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