diff options
| author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-25 00:14:57 +0000 |
|---|---|---|
| committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-25 00:14:57 +0000 |
| commit | 5ebb86bf1fce68c78501ec7f5a81b8cfa79cb056 (patch) | |
| tree | 11ea9228704d087d935261dc6001f9b778f96d6f /gcc | |
| parent | 44903e5d9ffc2762e32507da263c51858d324e08 (diff) | |
| download | ppe42-gcc-5ebb86bf1fce68c78501ec7f5a81b8cfa79cb056.tar.gz ppe42-gcc-5ebb86bf1fce68c78501ec7f5a81b8cfa79cb056.zip | |
* config/sh/sh.h (OPTIMIZATION_OPTIONS): Set flag_omit_frame_pointer
to 2 instead of -1.
(OVERRIDE_OPTIONS): Check if flag_omit_frame_pointer is equal
to 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138128 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/config/sh/sh.h | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc38bbc3e8d..f919236ea30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-07-24 Kaz Kojima <kkojima@gcc.gnu.org> + + * config/sh/sh.h (OPTIMIZATION_OPTIONS): Set flag_omit_frame_pointer + to 2 instead of -1. + (OVERRIDE_OPTIONS): Check if flag_omit_frame_pointer is equal + to 2. + 2008-07-24 Kai Tietz <kai.tietz@onevision.com> * config/i386/i386.c (get_dllimport_decl): Treat user_label_prefix for diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 5204847abc5..2305872903d 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -463,7 +463,7 @@ do { \ do { \ if (LEVEL) \ { \ - flag_omit_frame_pointer = -1; \ + flag_omit_frame_pointer = 2; \ if (! SIZE) \ sh_div_str = "inv:minlat"; \ } \ @@ -690,7 +690,7 @@ do { \ if (! VALID_REGISTER_P (ADDREGNAMES_REGNO (regno))) \ sh_additional_register_names[regno][0] = '\0'; \ \ - if (flag_omit_frame_pointer < 0) \ + if (flag_omit_frame_pointer == 2) \ { \ /* The debugging information is sufficient, \ but gdb doesn't implement this yet */ \ |

