diff options
author | Hariharan Sandanagobalane <hariharan@picochip.com> | 2010-10-05 15:52:33 +0000 |
---|---|---|
committer | Hariharan Sandanagobalane <hariharans@gcc.gnu.org> | 2010-10-05 15:52:33 +0000 |
commit | 0378450eec12cf5a84be9d06f5f388cc4b6d934f (patch) | |
tree | a47ac02f55d7282af7e51a3c3fc254d85f8655d3 | |
parent | 1ebe4b4fa0b30f6ef7cb18404def5854745b5912 (diff) | |
download | gcc-0378450eec12cf5a84be9d06f5f388cc4b6d934f.zip gcc-0378450eec12cf5a84be9d06f5f388cc4b6d934f.tar.gz gcc-0378450eec12cf5a84be9d06f5f388cc4b6d934f.tar.bz2 |
picochip.c (picochip_option_override): Disable exception flags for picochip.
* config/picochip/picochip.c (picochip_option_override): Disable
exception flags for picochip.
From-SVN: r164992
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/picochip/picochip.c | 5 |
2 files changed, 10 insertions, 0 deletions
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 <hariharan@picochip.com> + + * config/picochip/picochip.c (picochip_option_override): Disable + exception flags for picochip. + 2010-10-05 Joseph Myers <joseph@codesourcery.com> * 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 |