From: hariharans Date: Tue, 5 Oct 2010 15:52:33 +0000 (+0000) Subject: * config/picochip/picochip.c (picochip_option_override): Disable X-Git-Tag: upstream/4.9.2~26123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7ac40568605e20715c79b966ea70f1cabea4911;p=platform%2Fupstream%2Flinaro-gcc.git * config/picochip/picochip.c (picochip_option_override): Disable exception flags for picochip. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164992 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5f5c47..cf45a53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-09-29 Hariharan Sandanagobalane + + * config/picochip/picochip.c (picochip_option_override): Disable + exception flags for picochip. + 2010-10-05 Joseph Myers * opts-common.c (handle_option, handle_generated_option, diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c index 1671c41..50748ed 100644 --- a/gcc/config/picochip/picochip.c +++ b/gcc/config/picochip/picochip.c @@ -358,6 +358,11 @@ picochip_option_override (void) 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 trash the instruction modes (e.g., instructions are changed to