diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-06-01 19:19:09 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-06-01 19:19:09 +0100 |
commit | 82c0180d7797e3602a7069dbf5696b487be5d7d8 (patch) | |
tree | c2f32333e3d90048910804ca1577c829154c8c3b /gcc/stmt.c | |
parent | 68d8b93454c20a663d4b259919d487fe16519837 (diff) | |
download | gcc-82c0180d7797e3602a7069dbf5696b487be5d7d8.zip gcc-82c0180d7797e3602a7069dbf5696b487be5d7d8.tar.gz gcc-82c0180d7797e3602a7069dbf5696b487be5d7d8.tar.bz2 |
common.opt (fjump-tables): New.
* common.opt (fjump-tables): New.
* doc/invoke.texi (-fno-jump-tables): Document.
* stmt.c (expand_end_case_type): Do not emit jump tables unless
flag_jump_tables.
From-SVN: r100457
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2458,6 +2458,7 @@ expand_case (tree exp) #ifndef ASM_OUTPUT_ADDR_DIFF_ELT || flag_pic #endif + || !flag_jump_tables || TREE_CONSTANT (index_expr) /* If neither casesi or tablejump is available, we can only go this way. */ |